mirror of
https://github.com/woodchen-ink/nezha-dash-v1.git
synced 2025-07-18 09:31:55 +08:00
fix: baseurl
This commit is contained in:
parent
fcb8ffb444
commit
0e24c37220
@ -5,6 +5,7 @@ import { VitePWA } from "vite-plugin-pwa";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
base: "/",
|
||||
plugins: [
|
||||
react(),
|
||||
VitePWA({
|
||||
@ -33,7 +34,10 @@ export default defineConfig({
|
||||
purpose: "any maskable"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
workbox: {
|
||||
navigateFallbackDenylist: [/^\/dashboard/],
|
||||
},
|
||||
})
|
||||
],
|
||||
resolve: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user