Skip to content

Commit

Permalink
feat: test swr
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan authored Jul 17, 2023
1 parent 45da05e commit 22f7f2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ export default defineNuxtConfig({
devtools: { enabled: true },
routeRules: {
'/dashboard/surveys/*/print': { ssr: false },
'/s/*': { swr: 120 },
'/s/*/analytics': { swr: 30 },
},
modules: [
'@unocss/nuxt',
Expand Down

0 comments on commit 22f7f2a

Please sign in to comment.