1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 22:08:20 +08:00

Opt: Add an option to disable reload

This commit is contained in:
18870
2022-01-14 21:34:54 +08:00
parent 52dca3db20
commit c808a7bc9f
6 changed files with 51 additions and 6 deletions

View File

@@ -11,6 +11,6 @@ const PythonExecutable = config.Deploy.Python.PythonExecutable;
const WebuiPort = config.Deploy.Webui.WebuiPort.toString();
export const pythonPath = (path.isAbsolute(PythonExecutable) ? PythonExecutable : path.join(alasPath, PythonExecutable));
export const webuiUrl = `http://localhost:${WebuiPort}`;
export const webuiUrl = `http://127.0.0.1:${WebuiPort}`;
export const webuiPath = 'gui.py';
export const webuiArgs = ['--port', WebuiPort];
export const webuiArgs = ['--port', WebuiPort, '--electron'];