update expree.json limit
This commit is contained in:
parent
27f6f0f345
commit
0ba4b28331
1 changed files with 2 additions and 2 deletions
|
|
@ -28,8 +28,8 @@ async function main() {
|
|||
origin: "*",
|
||||
}),
|
||||
);
|
||||
app.use(express.json());
|
||||
app.use(express.urlencoded({ extended: true }));
|
||||
app.use(express.json({limit: "50mb"}));
|
||||
app.use(express.urlencoded({ extended: true, limit: "50mb" }));
|
||||
app.use(logMiddleware);
|
||||
app.use("/", express.static("static"));
|
||||
app.use("/api-docs", swaggerUi.serve, swaggerUi.setup(swaggerDocument));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue