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 be300c652f
commit cbc5e1108b
2 changed files with 5 additions and 5 deletions

View File

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

View File

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