From 8867030ede95cc33c967953d1d7368f92c2c8efd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Thu, 21 Dec 2023 18:08:16 +0100 Subject: [PATCH] fix: PWA fixes --- src/lib/components/PwaStatus.svelte | 4 +++- src/routes/Footer.svelte | 6 +++--- svelte.config.js | 2 +- vite.config.ts | 4 ++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/lib/components/PwaStatus.svelte b/src/lib/components/PwaStatus.svelte index aa589b4b..fb978241 100644 --- a/src/lib/components/PwaStatus.svelte +++ b/src/lib/components/PwaStatus.svelte @@ -5,7 +5,9 @@ {#if $needRefresh} - + {:else if $offlineReady}
offline_pin
{/if} diff --git a/src/routes/Footer.svelte b/src/routes/Footer.svelte index 63f95e62..c3fd958d 100644 --- a/src/routes/Footer.svelte +++ b/src/routes/Footer.svelte @@ -43,17 +43,17 @@
  • bug_report File an issuebug_report Issues
  • description Read the docsdescription Docs
  • school Trainingschool Train
  • diff --git a/svelte.config.js b/svelte.config.js index e5a3f01a..39a6084e 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -10,7 +10,7 @@ const {version} = JSON.parse(await readFile(fileURLToPath(new URL("package.json" const config = { preprocess: [preprocess({postcss: {plugins: autoprefixer()}})], kit: { - adapter: adapter(), + adapter: adapter({fallback: "404.html"}), version: { name: version, }, diff --git a/vite.config.ts b/vite.config.ts index 34696ee8..48dddc81 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -45,8 +45,8 @@ export default defineConfig({ globPatterns: ["**/*.{js,css,html,woff2,json,csv,png,svg}"], }, manifest: { - name: "dot i/o", - id: "dot_io_v2", + name: "CharaChorder Device Manager", + id: "charchorder-device-manager", theme_color: themeColor, icons: [ {