Update main.js
This commit is contained in:
parent
6f0ca41c02
commit
bf4dd032cf
4
main.js
4
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user