forked from svrjs/svrjs
Refactor the index.js file
This commit is contained in:
parent
39712a17f4
commit
26fc7f3b08
1 changed files with 6 additions and 1 deletions
|
@ -960,7 +960,11 @@ function listeningMessage() {
|
||||||
if (domain != "") {
|
if (domain != "") {
|
||||||
if (process.serverConfig.secure && !sListenToLocalhost)
|
if (process.serverConfig.secure && !sListenToLocalhost)
|
||||||
serverconsole.locmessage(
|
serverconsole.locmessage(
|
||||||
"* https://" + domain + (spubport == 443 ? "" : ":" + spubport),
|
"* https://" +
|
||||||
|
domain +
|
||||||
|
(process.serverConfig.spubport == 443
|
||||||
|
? ""
|
||||||
|
: ":" + process.serverConfig.spubport),
|
||||||
);
|
);
|
||||||
if (
|
if (
|
||||||
!(
|
!(
|
||||||
|
@ -1548,6 +1552,7 @@ process.messageEventListeners.push((worker, serverconsole) => {
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
let isWorkerHungUpBuff = true;
|
||||||
let isWorkerHungUpBuff2 = true;
|
let isWorkerHungUpBuff2 = true;
|
||||||
|
|
||||||
function msgListener(message) {
|
function msgListener(message) {
|
||||||
|
|
Reference in a new issue