|
|
@@ -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 {
|