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: {
preset: 'cloudflare_pages',
prerender: {
routes: ['/'],
crawlLinks: true,
}
},
runtimeConfig: {

View File

@@ -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<AIGatewayHeaders>;
query: unknown;
@@ -8615,7 +8615,7 @@ declare abstract class AiGateway {
gateway?: UniversalGatewayOptions;
extraHeaders?: object;
}): Promise<Response>;
getUrl(provider?: AIGatewayProviders | string): Promise<string>; // eslint-disable-line
getUrl(provider?: AIGatewayProviders | string): Promise<string>;
}
interface AutoRAGInternalError extends Error {
}