Skip to content

Commit

Permalink
fix: make nuxt generate crawl all profile pages
Browse files Browse the repository at this point in the history
  • Loading branch information
maybeanerd committed Sep 10, 2023
1 parent d40788c commit 613c19c
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
@@ -1,4 +1,5 @@
import gitCommitInfo from 'git-commit-info';
import { profiles } from './server/profiles';

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
Expand All @@ -13,6 +14,7 @@ export default defineNuxtConfig({
nitro: {
prerender: {
crawlLinks: true,
routes: profiles.map(profile => `/${profile.person.name.first.toLowerCase()}`),
},
},
build: {
Expand Down

0 comments on commit 613c19c

Please sign in to comment.