From a012c87445bb0bdd7cb2f5f6069e7b595340a958 Mon Sep 17 00:00:00 2001 From: hsiong <37357447+hsiong@users.noreply.github.com> Date: Tue, 13 Jan 2026 10:12:51 +0800 Subject: [PATCH] fix: entrypoint.sh overrides NEXT_PUBLIC_TEXT_GENERATION_TIMEOUT_MS when TEXT_GENERATION_TIMEOUT_MS is unset (#30864) (#30865) --- web/.env.example | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/.env.example b/web/.env.example index f2f25454cb..df4e725c51 100644 --- a/web/.env.example +++ b/web/.env.example @@ -31,6 +31,8 @@ NEXT_PUBLIC_UPLOAD_IMAGE_AS_ICON=false # The timeout for the text generation in millisecond NEXT_PUBLIC_TEXT_GENERATION_TIMEOUT_MS=60000 +# Used by web/docker/entrypoint.sh to overwrite/export NEXT_PUBLIC_TEXT_GENERATION_TIMEOUT_MS at container startup (Docker only) +TEXT_GENERATION_TIMEOUT_MS=60000 # CSP https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP NEXT_PUBLIC_CSP_WHITELIST=