Settings add localhost to allowed

This commit is contained in:
Aarni Halinen
2019-11-10 03:04:40 +02:00
parent 59f47dec26
commit 8afeec21cc
+1 -1
View File
@@ -17,7 +17,7 @@ from sikweb.base import *
DEBUG = os.getenv('DEBUG', False) == 'True'
URL = os.getenv("HOST", "sika.sik.party")
ALLOWED_HOSTS = [URL]
ALLOWED_HOSTS = ["localhost", "127.0.0.1", URL]
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.getenv('SECRET_KEY', '<your secret key>')