diff --git a/changedetectionio/changedetection.py b/changedetectionio/changedetection.py index 3fb20f82..9d508a4a 100755 --- a/changedetectionio/changedetection.py +++ b/changedetectionio/changedetection.py @@ -107,7 +107,7 @@ def main(): # @Note: Incompatible with password login (and maybe other features) for now, submit a PR! @app.after_request def hide_referrer(response): - if strtobool(os.getenv("HIDE_REFERER", False)): + if strtobool(os.getenv("HIDE_REFERER", 'false')): response.headers["Referrer-Policy"] = "no-referrer" return response