|
|
|
@ -48,11 +48,11 @@ const express = require('express')
|
|
|
|
|
const { MessageManager } = require('./types')
|
|
|
|
|
const app = express(), appConfig = express()
|
|
|
|
|
const appServer = require('http').createServer(app)
|
|
|
|
|
app.use(express.json())
|
|
|
|
|
app.use(express.json({ limit: '1mb' }))
|
|
|
|
|
app.use(express.static('html_main'))
|
|
|
|
|
app.use(express.static(__dirname + '/node_modules/@mdi/font'))
|
|
|
|
|
|
|
|
|
|
appConfig.use(express.json())
|
|
|
|
|
appConfig.use(express.json({ limit: '1mb' }))
|
|
|
|
|
appConfig.use(express.static('html_config'))
|
|
|
|
|
appConfig.use(express.static(__dirname + '/node_modules/@mdi/font'))
|
|
|
|
|
|
|
|
|
|