mirror of
https://github.com/gramps-project/gramps-web.git
synced 2026-10-16 21:01:38 +08:00
Fix workbox config
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ const baseConfig = createSpaConfig({
|
||||
developmentMode: process.env.ROLLUP_WATCH === 'true',
|
||||
injectServiceWorker: true,
|
||||
workbox: {
|
||||
navigateFallbackWhitelist: [ '/^(?!/api/)/.*' ]
|
||||
navigateFallbackDenylist: [/^\/api.*/],
|
||||
},
|
||||
html: {
|
||||
transform: [
|
||||
|
||||
Reference in New Issue
Block a user