From 38c0c170e72fb5bfd26b3e16bf33e3744bd3feb8 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Wed, 4 Aug 2021 13:31:17 +0800 Subject: [PATCH] add some comments --- server/server.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/server.js b/server/server.js index 34afc5f10..daaf9555a 100644 --- a/server/server.js +++ b/server/server.js @@ -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")