add www subdomain to CORS whitelist
This commit is contained in:
parent
899b6b5b53
commit
de1cee2015
|
@ -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\/?$', )
|
||||
|
|
Loading…
Reference in a new issue