Browse Source

Update next.config.js

main
Steve Ruiz 4 years ago
parent
commit
4a9b01592a
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      next.config.js

+ 2
- 1
next.config.js View File

@@ -2,7 +2,8 @@ const withPWA = require('next-pwa')
2 2
 
3 3
 module.exports = withPWA({
4 4
   pwa: {
5
-    disable: process.env.NODE_ENV === 'development',
6 5
     dest: 'public',
6
+    scope: '/',
7
+    disable: process.env.NODE_ENV === 'development',
7 8
   },
8 9
 })

Loading…
Cancel
Save