Commit 0e6b21ef by John Jarvis

adding slash

parent 54bb55fa
......@@ -89,9 +89,8 @@ with open(CONFIG_ROOT / CONFIG_PREFIX + "env.json") as env_file:
# STATIC_URL_BASE specifies the base url to use for static files
STATIC_URL_BASE = ENV_TOKENS.get('STATIC_URL_BASE', None)
if STATIC_URL_BASE:
STATIC_URL = STATIC_URL_BASE + git.revision + "/"
STATIC_URL = STATIC_URL_BASE + "/" + git.revision + "/"
STATIC_URL = ENV_TOKENS.get('STATIC_URL', STATIC_URL)
# GITHUB_REPO_ROOT is the base directory
# for course data
GITHUB_REPO_ROOT = ENV_TOKENS.get('GITHUB_REPO_ROOT', GITHUB_REPO_ROOT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment