Skip to content

Commit c33af98

Browse files
committed
update
1 parent b9451fa commit c33af98

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/bplan-client/vite.config.mts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export default defineConfig({
1818
vitePwa({
1919
base: '/',
2020
buildBase: '/_build/',
21-
// outDir
2221
// filename: 'sw.ts',
2322
includeAssets: ['favicon.svg', 'robots.txt', '*.svg', '*.png', '*.html'],
2423
injectRegister: null,
@@ -66,6 +65,10 @@ export default defineConfig({
6665
// },
6766
workbox: {
6867
globPatterns: ['**/*.{js,css,html,ico,png,svg}'],
68+
modifyURLPrefix: {
69+
'': '/_build',
70+
},
71+
navigateFallback: '/index.html',
6972
},
7073
}),
7174
] as any,

0 commit comments

Comments
 (0)