add allowed host

This commit is contained in:
bakatrouble 2019-01-11 23:20:50 +03:00
parent 294c22c5e5
commit 1a27726cba

View File

@ -11,8 +11,8 @@ if os.path.exists(env_file):
env.read_env(env_file) env.read_env(env_file)
SECRET_KEY = '6)mck*tk2eq++!01pr2!7qo7#zf_e(hi_m=-qa4x-ah)lvvt4-' SECRET_KEY = '6)mck*tk2eq++!01pr2!7qo7#zf_e(hi_m=-qa4x-ah)lvvt4-'
DEBUG = env.bool('DJANGO_DEBUG', False) DEBUG = env.bool('DJANGO_DEBUG', True)
ALLOWED_HOSTS = ['0.0.0.0', '127.0.0.1', 'home.bakatrouble.pw', 'localhost'] ALLOWED_HOSTS = ['0.0.0.0', '127.0.0.1', 'home.bakatrouble.pw', 'localhost', 'bots.bakatrouble.pw']
INSTALLED_APPS = [ INSTALLED_APPS = [
'django.contrib.admin', 'django.contrib.admin',