Update next-pwa settings

This commit is contained in:
2023-07-17 12:22:13 +05:30
parent af3a9b24c2
commit afffb3f190
+3
View File
@@ -1,5 +1,8 @@
const withPWA = require("next-pwa")({ const withPWA = require("next-pwa")({
dest: "public", dest: "public",
skipWaiting: true,
register: true,
sw: "/sw.js",
}); });
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */