docs: Allow setting baseUrl configuration via ENV variable (#7021)

This commit is contained in:
Ronnie Miller 2025-03-11 12:24:29 -07:00 committed by GitHub
commit dc9dc91154
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ const config = {
"Langflow is a low-code app builder for RAG and multi-agent AI applications.",
favicon: "img/favicon.ico",
url: "https://docs.langflow.org",
baseUrl: "/",
baseUrl: process.env.BASE_URL ? process.env.BASE_URL : "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
onBrokenAnchors: "warn",