Merge pull request #411 from arifszn/fix/409

Set undefined navigateFallback so that it can redirect to 404
This commit is contained in:
Ariful Alam authored and GitHub committed 2023-06-28 17:24:44 +06:00
commit ac8e6941ab
1 file changed
+3
+3
View File
@@ -16,6 +16,9 @@ export default defineConfig({
react(), react(),
VitePWA({ VitePWA({
registerType: 'autoUpdate', registerType: 'autoUpdate',
workbox: {
navigateFallback: undefined,
},
includeAssets: ['logo.png'], includeAssets: ['logo.png'],
manifest: { manifest: {
name: 'Portfolio', name: 'Portfolio',