diff --git a/.gitignore b/.gitignore
index ed8cb6f15..6770a760a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,7 +6,7 @@ scratch
assets/editor-layer-index.json
assets/generated/*
assets/generated/images/*
-/*.webmanifest
+public/*.webmanifest
/*.html
!/index.html
!/customGenerator.html
@@ -35,4 +35,4 @@ service-worker.js
.history/
# Built Visual Studio Code Extensions
-*.vsix
\ No newline at end of file
+*.vsix
diff --git a/index.html b/index.html
index 66053168a..1c286477f 100644
--- a/index.html
+++ b/index.html
@@ -17,7 +17,7 @@
MapComplete
-
+
Mastodon
diff --git a/scripts/generateLayouts.ts b/scripts/generateLayouts.ts
index aff6879fc..0921f68e1 100644
--- a/scripts/generateLayouts.ts
+++ b/scripts/generateLayouts.ts
@@ -353,7 +353,7 @@ async function main(): Promise {
const { manifest, whiteIcons } = await createManifest(layout, alreadyWritten)
const manif = JSON.stringify(manifest, undefined, 2)
const manifestLocation = encodeURIComponent(layout.id.toLowerCase()) + ".webmanifest"
- writeFile(manifestLocation, manif, err)
+ writeFile("public/" + manifestLocation, manif, err)
// Create a landing page for the given theme
const landing = await createLandingPage(layout, manifest, whiteIcons, alreadyWritten)
@@ -377,7 +377,7 @@ async function main(): Promise {
)
const manif = JSON.stringify(manifest, undefined, 2)
- writeFileSync("index.manifest", manif)
+ writeFileSync("public/index.webmanifest", manif)
}
main().then(() => {