mirror of
https://github.com/open-webui/desktop
synced 2025-06-26 18:15:59 +00:00
refac: comments
This commit is contained in:
parent
a1a642429c
commit
65f7e970ec
@ -416,6 +416,9 @@ export async function startServer(installationPath?: string, port?: number): Pro
|
||||
log.error('Failed to execute Python binary', error);
|
||||
}
|
||||
|
||||
|
||||
// Windows HATES Typer-CLI used to create the CLI for Open-WebUI
|
||||
// So we have to manually create the command to start the server
|
||||
let startCommand =
|
||||
process.platform === 'win32'
|
||||
? `"${installationPath}\\Scripts\\activate.bat" && uvicorn open_webui.main:app --host "0.0.0.0" --forwarded-allow-ips '*'`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user