Skip to content

Commit

Permalink
Prefetch resource quickly
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo930021 committed Jul 7, 2023
1 parent efaeb88 commit 709de0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export default defineConfig(({ mode, command }) => {
VitePWA({
registerType: 'autoUpdate',
workbox: {
globIgnores: ['**/session/*.html'],
navigateFallback: 'index.html',
navigateFallbackDenylist: [/.*\.(jpg|png|svg|json|js|xml)$/],
offlineGoogleAnalytics: true,
Expand Down

0 comments on commit 709de0f

Please sign in to comment.