Skip to content

Commit 3fd6753

Browse files
committed
Optional trailing slash on /docs, /db etc
1 parent 656c253 commit 3fd6753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default defineConfig({
4141
},
4242
workbox: {
4343
globPatterns: ["**/*.{js,css,html,woff2,woff,ttf,svg,eot}"],
44-
navigateFallbackDenylist: [/^\/(api|docs|manage|db)\//, /^\/_/, /^_/],
44+
navigateFallbackDenylist: [/^\/(api|docs|manage|db)\/?/, /^\/_/, /^_/],
4545
},
4646
}),
4747
],

0 commit comments

Comments
 (0)