added changes that prevent nginx welcome error
This commit is contained in:
parent
d7562bc1bd
commit
472519dc99
2 changed files with 7 additions and 7 deletions
|
|
@ -17,7 +17,7 @@ export default defineConfig({
|
|||
globPatterns: ['**/*.{js,css,html,png,jpg,svg}'], // Cache all common asset types
|
||||
maximumFileSizeToCacheInBytes: 20 * 1024 * 1024, // 20 MiB
|
||||
cleanupOutdatedCaches: true,
|
||||
navigateFallback: "/indexV2.html",
|
||||
navigateFallback: "/index.html",
|
||||
runtimeCaching: [
|
||||
{
|
||||
urlPattern: ({ request }) => request.destination === 'document',
|
||||
|
|
@ -53,7 +53,7 @@ export default defineConfig({
|
|||
target: 'esnext',
|
||||
rollupOptions: {
|
||||
input: {
|
||||
main: path.resolve(__dirname, 'indexV2.html')
|
||||
main: path.resolve(__dirname, 'index.html')
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue