fix: corriger le répertoire de sortie de construction des pages dans la configuration de wrangler

This commit is contained in:
2025-12-18 21:22:06 +01:00
parent 041c25d1fd
commit 59bcfbd248
2 changed files with 5 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
/* eslint-disable */ /* eslint-disable */
// Generated by Wrangler by running `wrangler types` (hash: 889e96b9a6e7cd90ad202f69774b6cc7) // Generated by Wrangler by running `wrangler types` (hash: 9ebceff030e512b05e46edbb174bea44)
// Runtime types generated with workerd@1.20251217.0 2025-12-13 nodejs_compat // Runtime types generated with workerd@1.20251217.0 2025-12-13
declare namespace Cloudflare { declare namespace Cloudflare {
interface Env { interface Env {
CACHE: KVNamespace; CACHE: KVNamespace;
@@ -12,12 +12,6 @@ declare namespace Cloudflare {
} }
} }
interface Env extends Cloudflare.Env {} interface Env extends Cloudflare.Env {}
type StringifyValues<EnvType extends Record<string, unknown>> = {
[Binding in keyof EnvType]: EnvType[Binding] extends string ? EnvType[Binding] : string;
};
declare namespace NodeJS {
interface ProcessEnv extends StringifyValues<Pick<Cloudflare.Env, "NUXT_PUBLIC_I18N_BASE_URL" | "NUXT_API_URL" | "STUDIO_GITHUB_CLIENT_ID" | "STUDIO_GITHUB_CLIENT_SECRET">> {}
}
// Begin runtime types // Begin runtime types
/*! ***************************************************************************** /*! *****************************************************************************
@@ -8599,7 +8593,7 @@ type AIGatewayHeaders = {
[key: string]: string | number | boolean | object; [key: string]: string | number | boolean | object;
}; };
type AIGatewayUniversalRequest = { type AIGatewayUniversalRequest = {
provider: AIGatewayProviders | string; provider: AIGatewayProviders | string; // eslint-disable-line
endpoint: string; endpoint: string;
headers: Partial<AIGatewayHeaders>; headers: Partial<AIGatewayHeaders>;
query: unknown; query: unknown;
@@ -8615,7 +8609,7 @@ declare abstract class AiGateway {
gateway?: UniversalGatewayOptions; gateway?: UniversalGatewayOptions;
extraHeaders?: object; extraHeaders?: object;
}): Promise<Response>; }): Promise<Response>;
getUrl(provider?: AIGatewayProviders | string): Promise<string>; getUrl(provider?: AIGatewayProviders | string): Promise<string>; // eslint-disable-line
} }
interface AutoRAGInternalError extends Error { interface AutoRAGInternalError extends Error {
} }

View File

@@ -2,7 +2,7 @@
"$schema": "node_modules/wrangler/config-schema.json", "$schema": "node_modules/wrangler/config-schema.json",
"name": "artsite", "name": "artsite",
"compatibility_date": "2025-12-13", "compatibility_date": "2025-12-13",
"pages_build_output_dir": ".output/public", "pages_build_output_dir": "dist/public",
"d1_databases": [ "d1_databases": [
{ {
"binding": "DB", "binding": "DB",