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']
|
||||
|
||||
CORS_ORIGIN_WHITELIST = [
|
||||
'fediverse.space',
|
||||
'www.fediverse.space',
|
||||
'staging.fediverse.space',
|
||||
CORS_ORIGIN_REGEX_WHITELIST = [
|
||||
r'^(https?:\/\/)?(\w+\.)?(.*)?fediverse-space\.netlify\.com\/?$',
|
||||
r'^(https?:\/\/)?(\w+\.)?(.*)?fediverse\.space\/?$',
|
||||
]
|
||||
CORS_ORIGIN_REGEX_WHITELIST = (r'^(https?:\/\/)?(\w+\.)?(.*)?fediverse-space\.netlify\.com\/?$', )
|
||||
|
|
Loading…
Reference in a new issue