Allow api.sika.sik.party

This commit is contained in:
Aarni Halinen
2019-12-18 20:29:36 +02:00
parent f2ffcaa5a9
commit c32292c7d9
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ from sikweb.base import *
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.getenv('DEBUG', False) == 'True'
URL = os.getenv("HOST", "sika.sik.party")
ALLOWED_HOSTS = ["localhost", "127.0.0.1", URL]
URL = os.getenv("HOST", "api.sika.sik.party")
ALLOWED_HOSTS = ["localhost", "127.0.0.1", "sika.sik.party", URL]
if DEBUG:
ALLOWED_HOSTS = ["*"]