Compare commits
2 commits
2714ea8b8a
...
6f87b35a9d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f87b35a9d | ||
|
|
568e5a635d |
1 changed files with 2 additions and 2 deletions
|
|
@ -24,8 +24,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