mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-26 04:02:47 +00:00
revoke(i18n): remove cache language pack in service worker
This commit is contained in:
parent
bbcf3a22d3
commit
e8b2e71f2b
|
|
@ -19,7 +19,6 @@ export default defineConfig({
|
||||||
workbox: {
|
workbox: {
|
||||||
maximumFileSizeToCacheInBytes: 10000000,
|
maximumFileSizeToCacheInBytes: 10000000,
|
||||||
navigateFallbackDenylist: [/^\/pdfviewer.html/, /^\/api\/(.+)/, /^\/f\/(.+)/, /^\/s\/(.+)/],
|
navigateFallbackDenylist: [/^\/pdfviewer.html/, /^\/api\/(.+)/, /^\/f\/(.+)/, /^\/s\/(.+)/],
|
||||||
globPatterns: ["**/*.{js,css,html}", "locales/**/*.json"],
|
|
||||||
},
|
},
|
||||||
devOptions: {
|
devOptions: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue