Skip to content

Commit

Permalink
Pek service worker til riktig path
Browse files Browse the repository at this point in the history
  • Loading branch information
oddgfa committed Oct 23, 2024
1 parent 73c7930 commit 97190a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if (import.meta.env.DEV) {
const { worker } = await import('./mock/browser');
await worker.start({
serviceWorker: {
url: `${import.meta.env.VITE_APP_BASE_PATH} + '/mockServiceWorker.js'`
url: import.meta.env.VITE_APP_BASE_PATH + '/mockServiceWorker.js'
}
});
}
Expand Down

0 comments on commit 97190a0

Please sign in to comment.