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) const appServer = require('http').createServer(app)
app.use(express.json()) app.use(express.json())
app.use(express.static('html_main')) app.use(express.static('html_main'))
app.use(express.static(__dirname + '/node_modules/@mdi/font'))
appConfig.use(express.json()) appConfig.use(express.json())
appConfig.use(express.static('html')) appConfig.use(express.static('html'))

Loading…
Cancel
Save