From bf4dd032cf7a10831cddf287168871674857030e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Tue, 25 Sep 2018 11:53:23 +0800 Subject: [PATCH] Update main.js --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 07c3e94..bd2f910 100644 --- a/main.js +++ b/main.js @@ -162,7 +162,7 @@ function initWebServer(settings) { app = express(); router = express.Router(); -/* + // install authentication app.get('/', function (req, res) { if (settings.auth) { @@ -185,7 +185,7 @@ function initWebServer(settings) { req.user = settings.defaultUser; } }); - +/* // add route cases addRoutes(router);