This commit is contained in:
2026-01-17 01:13:55 +08:00
parent 327f115ef2
commit cc043bfd7e
17 changed files with 768 additions and 790 deletions

View File

@@ -35,12 +35,11 @@ export const runServer = async (port: number = 51515, listenPath = '127.0.0.1')
});
} else {
app.listen(_port, listenPath, () => {
const protocol = assistantConfig.getHttps().protocol;
let showListenPath = listenPath;
if (listenPath === '::') {
showListenPath = 'localhost';
}
console.log(`Server is running on ${protocol}://${showListenPath}:${_port}`);
console.log(`Server is running on ${'http'}://${showListenPath}:${_port}`);
});
}
app.server.on([{