Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: not set web prefix use default (#19604)
Joelf0054347693f
diff --git a/web/config/index.ts b/web/config/index.tsindex d1bd34843a7..4d308807c5a 100644--- a/web/config/index.ts+++ b/web/config/index.ts@@ -23,15 +23,13 @@ if (}else if (globalThis.document?.body?.getAttribute('data-api-prefix')- && globalThis.document?.body?.getAttribute('data-web-prefix')&& globalThis.document?.body?.getAttribute('data-pubic-api-prefix')- && globalThis.document?.body?.getAttribute('data-pubic-web-prefix')) {// Not build can not get env from process.env.NEXT_PUBLIC_ in browser https://nextjs.org/docs/basic-features/environment-variables#exposing-environment-variables-to-the-browserapiPrefix = globalThis.document.body.getAttribute('data-api-prefix') as string- webPrefix = globalThis.document.body.getAttribute('data-web-prefix') as string+ webPrefix = (globalThis.document.body.getAttribute('data-web-prefix') as string || globalThis.location.origin)publicApiPrefix = globalThis.document.body.getAttribute('data-pubic-api-prefix') as string- publicWebPrefix = globalThis.document.body.getAttribute('data-pubic-web-prefix') as string+ publicWebPrefix = (globalThis.document.body.getAttribute('data-pubic-web-prefix') as string || globalThis.location.origin)}else {// const domainParts = globalThis.location?.host?.split('.');