Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Better explanation for SITE_URL configuration option

Roland Geidere45070d49a0f
diff --git a/wger/settings.tpl b/wger/settings.tpl
index b60185404..45f7673d5 100644
--- a/wger/settings.tpl
+++ b/wger/settings.tpl
@@ -33,7 +33,8 @@ RECAPTCHA_PRIVATE_KEY = ''
NOCAPTCHA = True
# The site's URL (e.g. http://www.my-local-gym.com or http://localhost:8000)
-# This is needed for Mozilla's BrowserID to work
+# This is needed for uploaded files and images (exercise images, etc.) to be
+# properly served.
SITE_URL = '{siteurl}'
BROWSERID_AUDIENCES = [SITE_URL]
@@ -51,4 +52,4 @@ if DEBUG:
# Allow all hosts to access the application. Change if used in production.
-ALLOWED_HOSTS = '*'
\ No newline at end of file
+ALLOWED_HOSTS = '*'