fix: ajouter la configuration de pré-rendu pour les pages et nettoyer les annotations ESLint

This commit is contained in:
2025-12-18 21:01:09 +01:00
parent ac46398a9d
commit 2e5cdde145
2 changed files with 7 additions and 2 deletions

View File

@@ -105,6 +105,11 @@ export default defineNuxtConfig({
nitro: { nitro: {
preset: 'cloudflare_pages', preset: 'cloudflare_pages',
prerender: {
routes: ['/'],
crawlLinks: true,
}
}, },
runtimeConfig: { runtimeConfig: {

View File

@@ -8599,7 +8599,7 @@ type AIGatewayHeaders = {
[key: string]: string | number | boolean | object; [key: string]: string | number | boolean | object;
}; };
type AIGatewayUniversalRequest = { type AIGatewayUniversalRequest = {
provider: AIGatewayProviders | string; // eslint-disable-line provider: AIGatewayProviders | string;
endpoint: string; endpoint: string;
headers: Partial<AIGatewayHeaders>; headers: Partial<AIGatewayHeaders>;
query: unknown; query: unknown;
@@ -8615,7 +8615,7 @@ declare abstract class AiGateway {
gateway?: UniversalGatewayOptions; gateway?: UniversalGatewayOptions;
extraHeaders?: object; extraHeaders?: object;
}): Promise<Response>; }): Promise<Response>;
getUrl(provider?: AIGatewayProviders | string): Promise<string>; // eslint-disable-line getUrl(provider?: AIGatewayProviders | string): Promise<string>;
} }
interface AutoRAGInternalError extends Error { interface AutoRAGInternalError extends Error {
} }