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();
|
app = express();
|
||||||
router = express.Router();
|
router = express.Router();
|
||||||
|
|
||||||
|
/*
|
||||||
// install authentication
|
// install authentication
|
||||||
app.get('/', function (req, res) {
|
app.get('/', function (req, res) {
|
||||||
if (settings.auth) {
|
if (settings.auth) {
|
||||||
@ -215,6 +216,7 @@ function initWebServer(settings) {
|
|||||||
adapter.log.error('port missing');
|
adapter.log.error('port missing');
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
function pollData() {
|
function pollData() {
|
||||||
|
Loading…
Reference in New Issue
Block a user