We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26f2306 commit b50e60bCopy full SHA for b50e60b
1 file changed
helm/settings_local.py
@@ -193,10 +193,10 @@ def _multiline_to_list(s):
193
GROUP_ALIASES_PATH = "/a/postfix/group-aliases"
194
GROUP_VIRTUAL_PATH = "/a/postfix/group-virtual"
195
196
-# Repoint STATIC_URL - hack to let staging access statics without hosting them itself
197
-_STATIC_URL = os.environ.get("DATATRACKER_STATIC_URL", None)
198
-if _STATIC_URL is not None:
199
- STATIC_URL = _STATIC_URL
+STATIC_URL = os.environ.get("DATATRACKER_STATIC_URL", None)
+if STATIC_URL is None:
+ from ietf import __version__
+ STATIC_URL = f"https://static.ietf.org/dt/{__version__}/"
200
201
# Set these to the same as "production" in settings.py, whether production mode or not
202
MEDIA_ROOT = "/a/www/www6s/lib/dt/media/"
0 commit comments