mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
fix links
This commit is contained in:
parent
51a6aa5ad0
commit
44710ab4af
3 changed files with 2 additions and 2 deletions
2
main.js
2
main.js
|
|
@ -21,7 +21,7 @@ if (PRODUCTION && "serviceWorker" in navigator) {
|
||||||
"beforeinstallprompt",
|
"beforeinstallprompt",
|
||||||
async event => {
|
async event => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
const Installation = await import("/modules/dynamic/installation.js");
|
const Installation = await import("./modules/dynamic/installation.js");
|
||||||
Installation.init(event);
|
Installation.init(event);
|
||||||
},
|
},
|
||||||
{once: true}
|
{once: true}
|
||||||
|
|
|
||||||
|
|
@ -424,7 +424,7 @@ async function parseLoadedData(data) {
|
||||||
{
|
{
|
||||||
// dynamically import and run auto-udpdate script
|
// dynamically import and run auto-udpdate script
|
||||||
const version = parseFloat(params[0]);
|
const version = parseFloat(params[0]);
|
||||||
const {resolveVersionConflicts} = await import("./auto-update.js");
|
const {resolveVersionConflicts} = await import("../dynamic/auto-update.js");
|
||||||
resolveVersionConflicts(version);
|
resolveVersionConflicts(version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue