chore: reset gh-pages.yml and docusaurus.config.ts to match upstream main

This commit is contained in:
Matthew Hand 2024-11-07 20:51:46 +00:00
parent 09fbf334a3
commit 10a50bc5c1
2 changed files with 5 additions and 5 deletions

View File

@ -36,9 +36,6 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build
env:
BASE_URL: ${{ vars.BASE_URL }}
SITE_URL: ${{ vars.SITE_URL }}
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

View File

@ -8,8 +8,11 @@ const config: Config = {
tagline: "ChatGPT-Style WebUI for LLMs (Formerly Ollama WebUI)",
favicon: "img/favicon.png",
url: process.env.SITE_URL || "https://openwebui.com",
baseUrl: process.env.BASE_URL || "/",
// 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: "/",
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.