Update main.js

This commit is contained in:
钟进 2018-09-25 11:50:14 +08:00
parent 77e8224ce0
commit 4435eef918

View File

@ -299,7 +299,6 @@ function main() {
console.log('check group user admin group admin: ' + res);
});
/*
// try to load certificates
if (adapter.config.secure) {
@ -314,6 +313,8 @@ function main() {
initWebServer(adapter.config);
}
/*
// Convert port to number
adapter.config.interval = parseInt(adapter.config.interval, 10);