From 505e594758038b36caba7510f8321e8555ff05ff Mon Sep 17 00:00:00 2001 From: zierbeek <58994651+zierbeek@users.noreply.github.com> Date: Thu, 4 Aug 2022 20:42:41 +0200 Subject: [PATCH] fix (possible): PWA white screen (#1526) Possible fix #1077 on iOS, as referenced in discussion. Should be enabled by default normally.. https://pwa.nuxtjs.org/workbox#skipwaiting --- frontend/nuxt.config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/nuxt.config.js b/frontend/nuxt.config.js index e197a6775226..9bb0319d840f 100644 --- a/frontend/nuxt.config.js +++ b/frontend/nuxt.config.js @@ -281,9 +281,6 @@ export default { // PWA module configuration: https://go.nuxtjs.dev/pwa pwa: { - manifest: { - lang: "en", - }, meta: { /* meta options */ name: "Mealie", @@ -292,6 +289,7 @@ export default { ogSiteName: "Mealie", }, manifest: { + lang: "en", name: "Mealie", title: "Mealie", background_color: "#FFFFFF", @@ -303,6 +301,10 @@ export default { text: "recipe_import_url", }, }, + workbox: { + /* workbox options */ + skipWaiting: "true", + }, }, icons: [ {