1
0
Fork 0
forked from svrjs/svrjs

Refactor the index.js file

This commit is contained in:
Dorian Niemiec 2024-08-26 07:08:31 +02:00
parent 39712a17f4
commit 26fc7f3b08

View file

@ -960,7 +960,11 @@ function listeningMessage() {
if (domain != "") {
if (process.serverConfig.secure && !sListenToLocalhost)
serverconsole.locmessage(
"* https://" + domain + (spubport == 443 ? "" : ":" + spubport),
"* https://" +
domain +
(process.serverConfig.spubport == 443
? ""
: ":" + process.serverConfig.spubport),
);
if (
!(
@ -1548,6 +1552,7 @@ process.messageEventListeners.push((worker, serverconsole) => {
};
});
let isWorkerHungUpBuff = true;
let isWorkerHungUpBuff2 = true;
function msgListener(message) {