diff --git a/kolibri/core/webpack/hooks.py b/kolibri/core/webpack/hooks.py index a16efb5da18..b313f3e34eb 100644 --- a/kolibri/core/webpack/hooks.py +++ b/kolibri/core/webpack/hooks.py @@ -123,6 +123,8 @@ def bundle(self): if getattr(settings, "DEVELOPER_MODE", False): try: f["url"] = f["publicPath"] + if f["url"].startswith("auto"): + raise KeyError except KeyError: f["url"] = staticfiles_storage.url(relpath) else: