mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #14783] [MERGED] fix: Improve local development setup #62448
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/14783
Author: @mrexodia
Created: 6/8/2025
Status: ✅ Merged
Merged: 6/8/2025
Merged by: @tjbck
Base:
dev← Head:local-dev-fixes📝 Commits (3)
41220b3Exclude the 'backend' folder from the Vite watcher.7010393Change default CORS_ALLOW_ORIGIN to '*'5e73fd5Improve local development setup📊 Changes
5 files changed (+23 additions, -13 deletions)
View changed files
📝
.env.example(+9 -0)📝
README.md(+2 -0)📝
backend/dev.sh(+1 -1)📝
backend/open_webui/config.py(+7 -11)📝
vite.config.ts(+4 -1)📄 Description
Pull Request Checklist
Discussion: https://github.com/open-webui/open-webui/discussions/14782
devbranch.Changelog Entry
Description
Changed
CORS_ALLOW_ORIGINdefault to*.backenddirectory from Vite watcher to avoid unnecessary frontend rebuilds when working on the backend.Breaking Changes
CORS_ALLOW_ORIGIN='*;http://localhost:5173;http://localhost:8080'will now fail on startup.Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.