You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught (in promise) TypeError: Failed to register a ServiceWorker for scope ('https://emilk.github.io/') with script ('https://emilk.github.io/sw.js'): A bad HTTP response code (404) was received when fetching the script.
The text was updated successfully, but these errors were encountered:
hoptimized
added a commit
to hoptimized/eframe_template
that referenced
this issue
Aug 2, 2022
Closesemilk#67
Remove the top-level path (`/`) from all source links in index.html so that
the template takes relative paths can work when hosted under a path,
e.g. `https://emilk.github.io/eframe_template/`
Closes#67
Remove the top-level path (`/`) from all source links in index.html so that
the template takes relative paths can work when hosted under a path,
e.g. `https://emilk.github.io/eframe_template/`
If the template is hosted under a path, e.g. https://emilk.github.io/**eframe_template/**, the following elements will show 404 errors:
As a result, the service worker fails to load, and the PWA loses its offline/caching capabilities.
Console output for https://emilk.github.io/eframe_template/:
The text was updated successfully, but these errors were encountered: