Small changes to support multiple hosts

This commit is contained in:
Pieter Vander Vennet 2020-12-13 20:20:18 +01:00
parent 905b8a3e86
commit a1d0607715
4 changed files with 6 additions and 6 deletions

View file

@ -270,7 +270,7 @@ for (const layoutName in all) {
};
const layout = all[layoutName];
validate(layout)
const manif = JSON.stringify(createManifest(layout, "/MapComplete"));
const manif = JSON.stringify(createManifest(layout, ""));
const manifestLocation = encodeURIComponent(layout.id.toLowerCase()) + ".webmanifest";
writeFile(manifestLocation, manif, err);