add some comments

This commit is contained in:
LouisLam 2021-08-04 13:31:17 +08:00
parent 655536e457
commit 38c0c170e7

View File

@ -538,6 +538,10 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString();
debug("added all socket handlers")
// ***************************
// Better do anything after added all socket handlers here
// ***************************
debug("check auto login")
if (await setting("disableAuth")) {
console.log("Disabled Auth: auto login to admin")