|
@@ -24,7 +24,7 @@ SECRET_KEY = 'f_nxx)y&fw6*u#dd_du6y9&)1$q+a0!y38+6sk151+6)@1kxge'
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
|
DEBUG = False
|
|
DEBUG = False
|
|
|
|
|
|
|
|
-ALLOWED_HOSTS = []
|
|
|
|
|
|
|
+ALLOWED_HOSTS = ['*']
|
|
|
|
|
|
|
|
|
|
|
|
|
# Application definition
|
|
# Application definition
|
|
@@ -131,6 +131,7 @@ USE_TZ = True
|
|
|
# https://docs.djangoproject.com/en/2.2/howto/static-files/
|
|
# https://docs.djangoproject.com/en/2.2/howto/static-files/
|
|
|
|
|
|
|
|
STATIC_URL = '/static/'
|
|
STATIC_URL = '/static/'
|
|
|
|
|
+STATIC_ROOT = '/srv/www/static/'
|
|
|
STATICFILES_DIRS = [
|
|
STATICFILES_DIRS = [
|
|
|
os.path.join(BASE_DIR, "semantic/dist"),
|
|
os.path.join(BASE_DIR, "semantic/dist"),
|
|
|
os.path.join(BASE_DIR, "static"),
|
|
os.path.join(BASE_DIR, "static"),
|