Skip to content

Commit

Permalink
Don't use 'auto' public paths to resolve resources.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Dec 12, 2024
1 parent d397ff7 commit 3feeb9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kolibri/core/webpack/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3feeb9e

Please sign in to comment.