Skip to content

Commit e7b6dab

Browse files
authored
Increase payload to 50MB (#848)
1 parent afecda7 commit e7b6dab

File tree

1 file changed

+2
-1
lines changed
  • governance/xc_admin/packages/proposer_server/src

1 file changed

+2
-1
lines changed

governance/xc_admin/packages/proposer_server/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ const RPC_URLS: Record<Cluster | "localnet", string> = {
4343
const app = express();
4444

4545
app.use(cors());
46-
app.use(express.json());
46+
app.use(express.json({ limit: "50mb" }));
47+
app.use(express.urlencoded({ extended: true, limit: "50mb" }));
4748

4849
app.post("/api/propose", async (req: Request, res: Response) => {
4950
try {

0 commit comments

Comments
 (0)