From 64f730094ded86ddd7e9793222870569ec36aded Mon Sep 17 00:00:00 2001 From: Justin Clift Date: Tue, 20 Jun 2023 22:09:35 +1000 Subject: [PATCH] Fix a typo for REDASH_FEATURE_POLICY env variable As per: https://github.com/RedashCommunity/redash/issues/59#issuecomment-1598642995 --- redash/settings/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redash/settings/__init__.py b/redash/settings/__init__.py index d813d965b1..38b6e7d0ee 100644 --- a/redash/settings/__init__.py +++ b/redash/settings/__init__.py @@ -171,7 +171,7 @@ # an empty value. # See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy # for more information. -FEATURE_POLICY = os.environ.get("REDASH_REFERRER_POLICY", "") +FEATURE_POLICY = os.environ.get("REDASH_FEATURE_POLICY", "") MULTI_ORG = parse_boolean(os.environ.get("REDASH_MULTI_ORG", "false"))