Merge branch 'develop_Br!ght' into dev
This commit is contained in:
commit
e37a25f1be
1 changed files with 2 additions and 2 deletions
|
|
@ -24,8 +24,8 @@ async function main() {
|
||||||
origin: "*",
|
origin: "*",
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
app.use(express.json());
|
app.use(express.json({ limit: "50mb" }));
|
||||||
app.use(express.urlencoded({ extended: true }));
|
app.use(express.urlencoded({ extended: true, limit: "50mb" }));
|
||||||
app.use(logMiddleware);
|
app.use(logMiddleware);
|
||||||
app.use("/", express.static("static"));
|
app.use("/", express.static("static"));
|
||||||
app.use("/api-docs", swaggerUi.serve, swaggerUi.setup(swaggerDocument));
|
app.use("/api-docs", swaggerUi.serve, swaggerUi.setup(swaggerDocument));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue