Skip to content

Commit db20c7c

Browse files
authored
docs: exempt patterns from cf _routes.json (#2136)
1 parent 9376d7e commit db20c7c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/nuxt.config.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@ export default defineNuxtConfig({
66
name: 'Nuxt Image',
77
},
88
compatibilityDate: '2025-08-07',
9+
nitro: {
10+
cloudflare: {
11+
pages: {
12+
routes: {
13+
exclude: [
14+
'/get-started/*',
15+
'/usage/*',
16+
'/providers/*',
17+
'/advanced/*',
18+
'/playground',
19+
'/__nuxt_content/*',
20+
'/raw/*',
21+
],
22+
},
23+
},
24+
},
25+
},
926
llms: {
1027
domain: 'https://image.nuxt.com',
1128
description: 'Nuxt Image is a module for Nuxt to optimize image for best performance.',

0 commit comments

Comments
 (0)