mirror of
https://github.com/open-webui/desktop
synced 2025-06-26 18:15:59 +00:00
refac: comments
This commit is contained in:
@@ -416,6 +416,9 @@ export async function startServer(installationPath?: string, port?: number): Pro
|
|||||||
log.error('Failed to execute Python binary', error);
|
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 =
|
let startCommand =
|
||||||
process.platform === 'win32'
|
process.platform === 'win32'
|
||||||
? `"${installationPath}\\Scripts\\activate.bat" && uvicorn open_webui.main:app --host "0.0.0.0" --forwarded-allow-ips '*'`
|
? `"${installationPath}\\Scripts\\activate.bat" && uvicorn open_webui.main:app --host "0.0.0.0" --forwarded-allow-ips '*'`
|
||||||
|
|||||||
Reference in New Issue
Block a user