From 94912c754247a01c241d0edd5d7a43eca0f14915 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 19 Nov 2022 17:57:26 -0600 Subject: [PATCH] Update:Enable PWA workbox #354 --- client/nuxt.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/nuxt.config.js b/client/nuxt.config.js index a74a8880..43838980 100644 --- a/client/nuxt.config.js +++ b/client/nuxt.config.js @@ -110,6 +110,7 @@ module.exports = { short_name: 'Audiobookshelf', display: 'standalone', background_color: '#373838', + start_url: '', icons: [ { src: (process.env.ROUTER_BASE_PATH || '') + '/icon.svg', @@ -118,7 +119,8 @@ module.exports = { ] }, workbox: { - enabled: false, + preCaching: [], + runtimeCaching: [] } },