Skip to content

Commit

Permalink
fix: baseurl
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Dec 2, 2024
1 parent fcb8ffb commit 0e24c37
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { VitePWA } from "vite-plugin-pwa";

// https://vite.dev/config/
export default defineConfig({
base: "/",
plugins: [
react(),
VitePWA({
Expand Down Expand Up @@ -33,7 +34,10 @@ export default defineConfig({
purpose: "any maskable"
}
]
}
},
workbox: {
navigateFallbackDenylist: [/^\/dashboard/],
},
})
],
resolve: {
Expand Down

0 comments on commit 0e24c37

Please sign in to comment.