mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 00:04:08 -05:00
[PR #3041] [MERGED] feat: custom HOST env variable on windows #7966
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/3041
Author: @cocktailpeanut
Created: 6/11/2024
Status: ✅ Merged
Merged: 6/11/2024
Merged by: @tjbck
Base:
dev← Head:main📝 Commits (1)
884eb9fupdate📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
backend/start_windows.bat(+2 -1)📄 Description
Description
Currently you can customize the HOST with an environment variable in non-windows environments https://github.com/open-webui/open-webui/blob/main/backend/start.sh#L9 but this is not implemented on Windows. On windows it's using a hardcoded value of 0.0.0.0 https://github.com/open-webui/open-webui/blob/main/backend/start_windows.bat#L32
Ironically it is Windows where we need the ability to use custom HOST because 0.0.0.0 sometimes has trouble on windows and need to use 127.0.0.1
Added
Just replicated the custom HOST feature in start.sh into start_windows.bat
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.