From de1cee2015ac872f7cb866e9a8532df19eff4c7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tao=20Bror=20Bojl=C3=A9n?= Date: Thu, 21 Feb 2019 14:38:23 +0000 Subject: [PATCH] add www subdomain to CORS whitelist --- backend/backend/settings/production.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/backend/settings/production.py b/backend/backend/settings/production.py index 7e44bf1..23d6976 100644 --- a/backend/backend/settings/production.py +++ b/backend/backend/settings/production.py @@ -6,6 +6,7 @@ ALLOWED_HOSTS = ['api.fediverse.space'] CORS_ORIGIN_WHITELIST = [ 'fediverse.space', + 'www.fediverse.space', 'staging.fediverse.space', ] CORS_ORIGIN_REGEX_WHITELIST = (r'^(https?:\/\/)?(\w+\.)?(.*)?fediverse-space\.netlify\.com\/?$', )