add www subdomain to CORS whitelist
This commit is contained in:
parent
899b6b5b53
commit
de1cee2015
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ ALLOWED_HOSTS = ['api.fediverse.space']
|
||||||
|
|
||||||
CORS_ORIGIN_WHITELIST = [
|
CORS_ORIGIN_WHITELIST = [
|
||||||
'fediverse.space',
|
'fediverse.space',
|
||||||
|
'www.fediverse.space',
|
||||||
'staging.fediverse.space',
|
'staging.fediverse.space',
|
||||||
]
|
]
|
||||||
CORS_ORIGIN_REGEX_WHITELIST = (r'^(https?:\/\/)?(\w+\.)?(.*)?fediverse-space\.netlify\.com\/?$', )
|
CORS_ORIGIN_REGEX_WHITELIST = (r'^(https?:\/\/)?(\w+\.)?(.*)?fediverse-space\.netlify\.com\/?$', )
|
||||||
|
|
Loading…
Add table
Reference in a new issue