Increase payload to 50MB (#848)
This commit is contained in:
parent
afecda7881
commit
e7b6dabdd8
|
@ -43,7 +43,8 @@ const RPC_URLS: Record<Cluster | "localnet", string> = {
|
||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
app.use(cors());
|
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) => {
|
app.post("/api/propose", async (req: Request, res: Response) => {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue