diff --git a/docusaurus.config.ts b/docusaurus.config.ts index ad581fe..5d670fb 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -8,11 +8,11 @@ const config: Config = { tagline: "ChatGPT-Style WebUI for LLMs (Formerly Ollama WebUI)", favicon: "img/favicon.png", - // Set the production url of your site here - url: "https://openwebui.com", - // Set the // pathname under which your site is served - // For GitHub pages deployment, it is often '//' - baseUrl: "/", + // Set the production url of your site here, defaulting to current value + url: process.env.SITE_URL || "https://openwebui.com", + // Set the // pathname under which your site is served, defaulting to current value + // For GitHub pages deployment, it is often '//' + baseUrl: process.env.BASE_URL || "/", // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these.