Update main.js

This commit is contained in:
钟进 2018-09-25 11:53:23 +08:00
parent 6f0ca41c02
commit bf4dd032cf

View File

@ -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);