mirror of
https://github.com/bendtherules/multimeter-connect-web.git
synced 2026-08-18 22:03:12 +00:00
Migrate to @ducanh2912/next-pwa
This commit is contained in:
+1
-4
@@ -1,11 +1,8 @@
|
||||
const runtimeCaching = require("next-pwa/cache");
|
||||
|
||||
const withPWA = require("next-pwa")({
|
||||
const withPWA = require("@ducanh2912/next-pwa").default({
|
||||
dest: "public",
|
||||
skipWaiting: true,
|
||||
register: true,
|
||||
sw: "/sw.js",
|
||||
runtimeCaching,
|
||||
dynamicStartUrl: false,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user