refac: comments

This commit is contained in:
Timothy Jaeryang Baek 2025-01-14 17:38:53 -08:00
parent a1a642429c
commit 65f7e970ec

View File

@ -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 '*'`