Update main.js

This commit is contained in:
钟进 2018-09-25 11:52:16 +08:00
parent 4435eef918
commit 6f0ca41c02

View File

@ -162,6 +162,7 @@ function initWebServer(settings) {
app = express();
router = express.Router();
/*
// install authentication
app.get('/', function (req, res) {
if (settings.auth) {
@ -215,6 +216,7 @@ function initWebServer(settings) {
adapter.log.error('port missing');
process.exit(1);
}
*/
}
function pollData() {