Skip to content

Commit 54aadb3

Browse files
committed
chore(nuxt.config, crawler): update excluded pages in configuration to prevent Nuxt from generating external routes
1 parent 00940c1 commit 54aadb3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

lib/crawler.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ export const EXCLUDED_PAGES = [
2020
// Custom apps built by other projects
2121
'/vote',
2222
'/cards',
23+
'/styleguide',
24+
'/privacy-policy',
25+
'/cookie-policy',
2326

2427
// HTML pages found in the public folder
2528
'/activation/privacy',

nuxt.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,14 @@ export default defineNuxtConfig({
273273
'/nimiq-website/_ipx/s_3200x1800/assets/images/gods-light.webp',
274274
'/nimiq-website/_ipx/_/assets/images/apple-store-badge.png',
275275
'/nimiq-website/_ipx/_/assets/images/google-play-badge.png',
276+
// External pages built by other projects - prevent Nuxt from trying to generate them
277+
'/vote',
278+
'/cards',
279+
'/styleguide',
280+
'/privacy-policy',
281+
'/cookie-policy',
282+
'/activation/privacy',
283+
'/terms',
276284
],
277285
},
278286
},

0 commit comments

Comments
 (0)