Skip to content

Commit

Permalink
added caching for start url
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJustChew committed Nov 4, 2023
1 parent bab47d5 commit a19842c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
const withPWA = require('@ducanh2912/next-pwa').default({
dest: 'public',
disable: process.env.NODE_ENV === 'development',
cacheStartUrl: true,
dynamicStartUrlRedirect: '/zh/today',
})

/** @type {import('next').NextConfig} */
Expand Down

0 comments on commit a19842c

Please sign in to comment.