fix:参数接收问题修复

This commit is contained in:
binaryify
2024-05-07 22:46:50 +08:00
parent 076ee17286
commit 5b30e1b222
4 changed files with 12 additions and 3 deletions

View File

@ -135,6 +135,9 @@ async function consturctServer(moduleDefs) {
const app = express()
const { CORS_ALLOW_ORIGIN } = process.env
app.set('trust proxy', true)
app.use(express.json({ limit: '50mb' }))
app.use(express.urlencoded({ limit: '50mb' }))
/**
* Serving static files
*/