update
This commit is contained in:
@@ -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([{
|
||||
|
||||
Reference in New Issue
Block a user