aboutsummaryrefslogtreecommitdiffhomepage
path: root/vite.config.js
diff options
context:
space:
mode:
authorSean McGrath <sean@mcgrath.net.nz>2022-11-07 22:18:59 +1300
committerBastien Wirtz <bastien.wirtz@gmail.com>2022-11-08 20:56:10 +0100
commit6868a0911b928b628357d6b0ad2e6c5850843ca6 (patch)
tree2ea73144fda9221f3828b7cf70a51db0295b0560 /vite.config.js
parentc9a649518616f3cf4e8c39d772dfbc2eff330a03 (diff)
downloadhomer-6868a0911b928b628357d6b0ad2e6c5850843ca6.tar.gz
homer-6868a0911b928b628357d6b0ad2e6c5850843ca6.tar.zst
homer-6868a0911b928b628357d6b0ad2e6c5850843ca6.zip
Add scope and start_url to PWA manifestv22.11.1
These URLs are relative, so given that manifest.json lives in assets/, these should point to the root of the site
Diffstat (limited to 'vite.config.js')
-rw-r--r--vite.config.js2
1 files changed, 2 insertions, 0 deletions
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({
21 short_name: "Homer", 21 short_name: "Homer",
22 description: "Home Server Dashboard", 22 description: "Home Server Dashboard",
23 theme_color: "#3367D6", 23 theme_color: "#3367D6",
24 start_url: "../",
25 scope: "../",
24 icons: [ 26 icons: [
25 { 27 {
26 src: "./icons/pwa-192x192.png", 28 src: "./icons/pwa-192x192.png",