From d71d33cfe02e4be0ca4e95774e92102149d8d43b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= <mateusz.gruszczynski@firma.interia.pl> Date: Tue, 13 May 2025 08:50:50 +0200 Subject: [PATCH] zmiany w acl --- app.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/app.py b/app.py index 21ff955..6e195bb 100644 --- a/app.py +++ b/app.py @@ -371,9 +371,7 @@ def apply_headers(response): # Blokowanie botów if app.config.get("BLOCK_BOTS", False): cc = app.config.get("CACHE_CONTROL_HEADER") or "no-store, no-cache, must-revalidate, max-age=0" - pragma = app.config.get("PRAGMA_HEADER") or "no-cache" response.headers["Cache-Control"] = cc - response.headers["Pragma"] = pragma response.headers["X-Robots-Tag"] = app.config.get("ROBOTS_TAG") or "noindex, nofollow, nosnippet, noarchive" return response