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
This commit is contained in:
Sean McGrath 2022-11-07 22:18:59 +13:00 committed by Bastien Wirtz
parent c9a6495186
commit 6868a0911b

View File

@ -21,6 +21,8 @@ export default defineConfig({
short_name: "Homer", short_name: "Homer",
description: "Home Server Dashboard", description: "Home Server Dashboard",
theme_color: "#3367D6", theme_color: "#3367D6",
start_url: "../",
scope: "../",
icons: [ icons: [
{ {
src: "./icons/pwa-192x192.png", src: "./icons/pwa-192x192.png",