Skip to content

Commit

Permalink
test: try out route rules
Browse files Browse the repository at this point in the history
  • Loading branch information
asvae committed Apr 26, 2023
1 parent ce721a7 commit 8592b23
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/docs/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
// TEST Config
routeRules: {
'/': {static: true},
'/en/**': {static: true},
'/ru/**': {static: true},
'/_nuxt/**': { headers: { 'cache-control': 's-maxage=0' } },
},
app: {
head: {
link: [
Expand Down

0 comments on commit 8592b23

Please sign in to comment.