Update main.js
This commit is contained in:
parent
4435eef918
commit
6f0ca41c02
2
main.js
2
main.js
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user