added static serve for @mdi/font

master
cheetah 2 years ago
parent 7d7cfeeab1
commit 0159915b4f

@ -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)
}
}

Loading…
Cancel
Save