mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
refactor: move assets
This commit is contained in:
parent
da1cb4ff9b
commit
5e6f599348
20 changed files with 11 additions and 326 deletions
|
|
@ -25,7 +25,7 @@ export function addGlobalListeners() {
|
|||
function registerServiceWorker() {
|
||||
"serviceWorker" in navigator &&
|
||||
window.addEventListener("load", () => {
|
||||
navigator.serviceWorker.register("../../sw.js").catch(err => {
|
||||
navigator.serviceWorker.register("../sw.js").catch(err => {
|
||||
console.error("ServiceWorker registration failed: ", err);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue