added host, fixed static files

parent 611b3655
Pipeline #134 failed with stage
in 58 seconds
......@@ -90,3 +90,5 @@ db.sqlite3
.idea/*
*~
secrets.py
static/*
logs/
......@@ -25,7 +25,7 @@ SECRET_KEY = 'udbex%6hseo5tys7ovemjy&cu5x@r*qc9=2gqufh$md%#(ofx*'
if not DEBUG:
SECRET_KEY = RELEASE_KEY
ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'phundrak.fr', 'langue.phundrak.fr']
ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'phundrak.fr', 'langue.phundrak.fr', 'dict.langue.phundrak.fr',]
# Application definition
......@@ -119,3 +119,4 @@ USE_TZ = True
# https://docs.djangoproject.com/en/2.1/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = "static"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment