got rid of indexv2 in vite config
This commit is contained in:
parent
c7c2625347
commit
551d9d0810
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ export default defineConfig({
|
||||||
globPatterns: ['**/*.{js,css,html,png,jpg,svg}'], // Cache all common asset types
|
globPatterns: ['**/*.{js,css,html,png,jpg,svg}'], // Cache all common asset types
|
||||||
maximumFileSizeToCacheInBytes: 20 * 1024 * 1024, // 20 MiB
|
maximumFileSizeToCacheInBytes: 20 * 1024 * 1024, // 20 MiB
|
||||||
cleanupOutdatedCaches: true,
|
cleanupOutdatedCaches: true,
|
||||||
navigateFallback: "/indexV2.html",
|
navigateFallback: "/index.html",
|
||||||
runtimeCaching: [
|
runtimeCaching: [
|
||||||
{
|
{
|
||||||
urlPattern: ({ request }) => request.destination === 'document',
|
urlPattern: ({ request }) => request.destination === 'document',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue