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 { }