Skip to content

Commit

Permalink
feat: Add cache configuration for hub
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmymbtlr committed Aug 30, 2024
1 parent 90a2cdf commit d400603
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ nuxt-web/utils/*.ts
# Include specific files
!nuxt-web/content/2.docs/12.tailwind.md
.vercel

.data
5 changes: 4 additions & 1 deletion nuxt-web/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ export default defineNuxtConfig({
meta: [{ property: 'og:image', content: '/og-image.jpg' }],
},
},
hub: {
cache: true,
},
sitemap: {
sources: [
'/api/sitemap',
Expand Down Expand Up @@ -67,4 +70,4 @@ export default defineNuxtConfig({
componentDir: './components/ui',
},
devtools: { enabled: true },
})
})

0 comments on commit d400603

Please sign in to comment.