Add disable home page option

This commit is contained in:
Elias Schneider
2022-05-02 22:42:27 +02:00
parent 2cdd802422
commit c02e9c4efb
10 changed files with 46 additions and 43 deletions

View File

@@ -5,7 +5,8 @@ const withPWA = require("next-pwa");
const nextConfig = withPWA({
reactStrictMode: true,
pwa: {
dest: "public"
dest: "public",
disable: process.env.NODE_ENV == "development"
},
})