mirror of
https://github.com/bendtherules/multimeter-connect-web.git
synced 2026-08-18 13:52:26 +00:00
Update next-pwa settings
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
|
const runtimeCaching = require("next-pwa/cache");
|
||||||
|
|
||||||
const withPWA = require("next-pwa")({
|
const withPWA = require("next-pwa")({
|
||||||
dest: "public",
|
dest: "public",
|
||||||
skipWaiting: true,
|
skipWaiting: true,
|
||||||
register: true,
|
register: true,
|
||||||
sw: "/sw.js",
|
sw: "/sw.js",
|
||||||
|
runtimeCaching,
|
||||||
|
dynamicStartUrl: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
|
|||||||
Reference in New Issue
Block a user