mirror of
https://github.com/open-webui/docs
synced 2025-06-11 00:57:02 +00:00
Update docusaurus.config.ts to use BASE_URL and SITE_URL env vars with defaults
This commit is contained in:
parent
f9967cec63
commit
641a5f1f8f
@ -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 /<baseUrl>/ pathname under which your site is served
|
||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
||||
baseUrl: "/",
|
||||
// Set the production url of your site here, defaulting to current value
|
||||
url: process.env.SITE_URL || "https://openwebui.com",
|
||||
// Set the /<baseUrl>/ pathname under which your site is served, defaulting to current value
|
||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
||||
baseUrl: process.env.BASE_URL || "/",
|
||||
|
||||
// GitHub pages deployment config.
|
||||
// If you aren't using GitHub pages, you don't need these.
|
||||
|
Loading…
Reference in New Issue
Block a user