Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix path for uploaded media in production setting
Roland Geidere2f5808537c9
diff --git a/wger/settings.tpl b/wger/settings.tplindex 0f2ae5acb..1d11023a6 100644--- a/wger/settings.tpl+++ b/wger/settings.tpl@@ -41,7 +41,7 @@ BROWSERID_AUDIENCES = [SITE_URL]# Path to uploaded files# Absolute filesystem path to the directory that will hold user-uploaded files.MEDIA_ROOT = {media_folder_path}-MEDIA_URL = SITE_URL + '/static/'+MEDIA_URL = SITE_URL + '/media/'if DEBUG:# Serve the uploaded files like this only during developmentSTATICFILES_DIRS = (MEDIA_ROOT, )