Skip to content

Commit

Permalink
Update payload limits for servers
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed Dec 30, 2023
1 parent 783f953 commit aa4efc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/batcher/webserver/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const port = ENV.BATCHER_PORT;
let pool: Pool;

const server = express();
const bodyParser = express.json();
const bodyParser = express.json({ limit: '50mb' });
server.use(cors());
server.use(bodyParser);

Expand Down
2 changes: 1 addition & 1 deletion packages/engine/paima-runtime/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import path from 'path';
import { ValidateError } from 'tsoa';

const server: Express = express();
const bodyParser = express.json();
const bodyParser = express.json({ limit: '50mb' });

server.use(cors());
server.use(bodyParser);
Expand Down

0 comments on commit aa4efc4

Please sign in to comment.