From afffb3f19006a1d681f672aab8b359adea24f37f Mon Sep 17 00:00:00 2001 From: bendtherules Date: Mon, 17 Jul 2023 12:22:13 +0530 Subject: [PATCH] Update next-pwa settings --- next.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.js b/next.config.js index aa01f5c..f6b7ad4 100644 --- a/next.config.js +++ b/next.config.js @@ -1,5 +1,8 @@ const withPWA = require("next-pwa")({ dest: "public", + skipWaiting: true, + register: true, + sw: "/sw.js", }); /** @type {import('next').NextConfig} */