From 6868a0911b928b628357d6b0ad2e6c5850843ca6 Mon Sep 17 00:00:00 2001 From: Sean McGrath Date: Mon, 7 Nov 2022 22:18:59 +1300 Subject: [PATCH] Add scope and start_url to PWA manifest These URLs are relative, so given that manifest.json lives in assets/, these should point to the root of the site --- vite.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vite.config.js b/vite.config.js index f08041d..15ff457 100644 --- a/vite.config.js +++ b/vite.config.js @@ -21,6 +21,8 @@ export default defineConfig({ short_name: "Homer", description: "Home Server Dashboard", theme_color: "#3367D6", + start_url: "../", + scope: "../", icons: [ { src: "./icons/pwa-192x192.png", -- 2.41.0