Settings add localhost to allowed
This commit is contained in:
+1
-1
@@ -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>')
|
||||
|
||||
Reference in New Issue
Block a user