Skip to content

Commit

Permalink
chore: go back to super primitive route rules
Browse files Browse the repository at this point in the history
  • Loading branch information
paranoidPhantom committed Sep 18, 2024
1 parent db8be5d commit 13f95a0
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,26 @@ export default defineNuxtConfig({
},

modules: [
"nuxt-aos",
"nuxt-monaco-editor",
"@nuxt/ui",
"@nuxt/fonts",
"@nuxt/image",
"@nuxt/eslint",
"@nuxtjs/seo",
// "@nuxtjs/algolia",
"@nuxtjs/mdc",
"@nuxtjs/supabase",
"@nuxt/content"
],
"nuxt-aos",
"nuxt-monaco-editor",
"@nuxt/ui",
"@nuxt/fonts",
"@nuxt/image",
"@nuxt/eslint",
"@nuxtjs/seo",
// "@nuxtjs/algolia",
"@nuxtjs/mdc",
"@nuxtjs/supabase",
"@nuxt/content",
],

image: {
domains: ["db.portal.ort.spb.ru"],
formats: ["avif", "webp"],
},

routeRules: {
"/": { isr: 60 },
"/info/**": { isr: 60 },
"/for-parents/**": { isr: 60 },
"/manage/**": { robots: false, isr: false },
"/manage/**": { robots: false },
},

sitemap: {
Expand Down Expand Up @@ -102,4 +99,4 @@ export default defineNuxtConfig({
},

compatibilityDate: "2024-07-17",
});
});

0 comments on commit 13f95a0

Please sign in to comment.