mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 15:54:13 +01:00
fix: ajouter la configuration de pré-rendu pour les pages et nettoyer les annotations ESLint
This commit is contained in:
@@ -105,6 +105,11 @@ export default defineNuxtConfig({
|
|||||||
|
|
||||||
nitro: {
|
nitro: {
|
||||||
preset: 'cloudflare_pages',
|
preset: 'cloudflare_pages',
|
||||||
|
|
||||||
|
prerender: {
|
||||||
|
routes: ['/'],
|
||||||
|
crawlLinks: true,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
runtimeConfig: {
|
runtimeConfig: {
|
||||||
|
|||||||
4
worker-configuration.d.ts
vendored
4
worker-configuration.d.ts
vendored
@@ -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 {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user