Allow CORS from all fediverse.space subdomains
This commit is contained in:
parent
f1be2e3be3
commit
648f225772
|
@ -4,9 +4,7 @@ DEBUG = False
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['backend.fediverse.space']
|
ALLOWED_HOSTS = ['backend.fediverse.space']
|
||||||
|
|
||||||
CORS_ORIGIN_WHITELIST = [
|
CORS_ORIGIN_REGEX_WHITELIST = [
|
||||||
'fediverse.space',
|
r'^(https?:\/\/)?(\w+\.)?(.*)?fediverse-space\.netlify\.com\/?$',
|
||||||
'www.fediverse.space',
|
r'^(https?:\/\/)?(\w+\.)?(.*)?fediverse\.space\/?$',
|
||||||
'staging.fediverse.space',
|
|
||||||
]
|
]
|
||||||
CORS_ORIGIN_REGEX_WHITELIST = (r'^(https?:\/\/)?(\w+\.)?(.*)?fediverse-space\.netlify\.com\/?$', )
|
|
||||||
|
|
Loading…
Reference in a new issue