Increase payload to 50MB (#848)

This commit is contained in:
guibescos 2023-05-30 09:46:36 -05:00 committed by GitHub
parent afecda7881
commit e7b6dabdd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ const RPC_URLS: Record<Cluster | "localnet", string> = {
const app = express();
app.use(cors());
app.use(express.json());
app.use(express.json({ limit: "50mb" }));
app.use(express.urlencoded({ extended: true, limit: "50mb" }));
app.post("/api/propose", async (req: Request, res: Response) => {
try {