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 2023-06-28 17:24:44 +06:00 committed by GitHub
commit ac8e6941ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,9 @@ export default defineConfig({
react(),
VitePWA({
registerType: 'autoUpdate',
workbox: {
navigateFallback: undefined,
},
includeAssets: ['logo.png'],
manifest: {
name: 'Portfolio',