fix CORS for netlify branch deployments

This commit is contained in:
Tao Bror Bojlén 2019-02-20 20:44:27 +00:00
parent fa1b47bb63
commit 5079875697
No known key found for this signature in database
GPG Key ID: C6EC7AAB905F9E6F
1 changed files with 2 additions and 1 deletions

View File

@ -6,5 +6,6 @@ ALLOWED_HOSTS = ['api.fediverse.space']
CORS_ORIGIN_WHITELIST = [
'fediverse.space',
'staging.fediverse.space'
'staging.fediverse.space',
'*fediverse-space.netlify.com'
]