Skip to content

Commit

Permalink
Disable service worker in dev mode by default
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Mar 30, 2023
1 parent 1e59c53 commit 9dff4ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion data-browser/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ export default defineConfig({
VitePWA({
registerType: 'autoUpdate',
devOptions: {
enabled: true
// If you want to test the service worker in development.
// Note that if this was registered, you'll need to unregister it first
// enabled: true
},
manifest: {
name: 'Atomic Data Browser',
Expand Down

0 comments on commit 9dff4ca

Please sign in to comment.