add subdomains to allowed hosts

This commit is contained in:
Tao Bror Bojlén 2019-02-20 17:15:41 +00:00
parent d90f0f3218
commit bb2f39e785
No known key found for this signature in database
GPG Key ID: C6EC7AAB905F9E6F
1 changed files with 3 additions and 1 deletions

View File

@ -2,8 +2,10 @@ from .base import *
DEBUG = False
ALLOWED_HOSTS = ['fediverse.space']
ALLOWED_HOSTS = ['fediverse.space', 'www.fediverse.space', 'staging.fediverse.space']
CORS_ORIGIN_WHITELIST = [
'fediverse.space',
'www.fediverse.space',
'staging.fediverse.space'
]