From 2e5cdde1452c6bebf3b96a719072231b68be3eb5 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Thu, 18 Dec 2025 21:01:09 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20ajouter=20la=20configuration=20de=20pr?= =?UTF-8?q?=C3=A9-rendu=20pour=20les=20pages=20et=20nettoyer=20les=20annot?= =?UTF-8?q?ations=20ESLint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuxt.config.ts | 5 +++++ worker-configuration.d.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index a3e027d..4ab49fa 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -105,6 +105,11 @@ export default defineNuxtConfig({ nitro: { preset: 'cloudflare_pages', + + prerender: { + routes: ['/'], + crawlLinks: true, + } }, runtimeConfig: { diff --git a/worker-configuration.d.ts b/worker-configuration.d.ts index f1b216b..dc85ea9 100644 --- a/worker-configuration.d.ts +++ b/worker-configuration.d.ts @@ -8599,7 +8599,7 @@ type AIGatewayHeaders = { [key: string]: string | number | boolean | object; }; type AIGatewayUniversalRequest = { - provider: AIGatewayProviders | string; // eslint-disable-line + provider: AIGatewayProviders | string; endpoint: string; headers: Partial; query: unknown; @@ -8615,7 +8615,7 @@ declare abstract class AiGateway { gateway?: UniversalGatewayOptions; extraHeaders?: object; }): Promise; - getUrl(provider?: AIGatewayProviders | string): Promise; // eslint-disable-line + getUrl(provider?: AIGatewayProviders | string): Promise; } interface AutoRAGInternalError extends Error { }