Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Allow access from all hosts by default

Roland Geider60759a952181
diff --git a/wger/settings.tpl b/wger/settings.tpl
index 4aaac47f9..96b821c0c 100644
--- a/wger/settings.tpl
+++ b/wger/settings.tpl
@@ -47,4 +47,8 @@ MEDIA_ROOT = '{media_folder_path}'
MEDIA_URL = SITE_URL + '/static/'
if DEBUG:
# Serve the uploaded files like this only during development
- STATICFILES_DIRS = (MEDIA_ROOT, )
\ No newline at end of file
+ STATICFILES_DIRS = (MEDIA_ROOT, )
+
+
+# Allow all hosts to access the application. Change if used in production.
+ALLOWED_HOSTS = '*'
\ No newline at end of file