Merge pull request #3764 from bluewave-labs/fix/increase-json-body-limit
fix(server): raise express.json body limit to 10mb
This commit is contained in:
1 file changed
+1
@@ -54,6 +54,7 @@ export const createApp = ({
|
|||||||
|
|
||||||
app.use(express.static(frontendPath));
|
app.use(express.static(frontendPath));
|
||||||
|
|
||||||
|
app.use("/api/v1/monitors/import/json", express.json({ limit: "10mb" }));
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
app.use(cookieParser());
|
app.use(cookieParser());
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user