|
|
|
@ -49,6 +49,8 @@ const app = express(), appConfig = express()
|
|
|
|
|
const appServer = require('http').createServer(app)
|
|
|
|
|
app.use(express.json())
|
|
|
|
|
app.use(express.static('html_main'))
|
|
|
|
|
app.use(express.static(__dirname + '/node_modules/@mdi/font'))
|
|
|
|
|
|
|
|
|
|
appConfig.use(express.json())
|
|
|
|
|
appConfig.use(express.static('html'))
|
|
|
|
|
|
|
|
|
@ -168,4 +170,4 @@ setInterval(memstats, 10e3)*/
|
|
|
|
|
appServer.listen(config.general.port)
|
|
|
|
|
if (config.general.configWebInterfaceEnabled === true) {
|
|
|
|
|
appConfig.listen(config.general.configPort)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|