Production fixes

This commit is contained in:
Stephan Porada
2020-12-04 15:55:11 +01:00
parent 0ea86f3a35
commit 71ab6bc550
7 changed files with 19 additions and 11 deletions

View File

@ -31,7 +31,7 @@ SESSION_COOKIE_SECURE = True
# CHANGE the hosts according to your settings.
ALLOWED_HOSTS = ["127.0.0.1", "localhost", "192.168.0.14", "bundesdata.sporada.eu"]
ALLOWED_HOSTS = ["127.0.0.1", "localhost", "0.0.0.0", "bundesdata.sporada.eu"]
# Application definition
@ -135,7 +135,7 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.1/howto/static-files/
STATIC_URL = '/staticfiles/'
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
# WATSON