Skip to content

Commit 35658d5

Browse files
authored
chore: body-parser warning on boot from App's router (#40283)
1 parent 87e3923 commit 35658d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/meteor/app/apps/server/bridges/router.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ export const apiServer = express();
55

66
apiServer.disable('x-powered-by');
77

8-
apiServer.use('/api/apps/private/:appId/:hash', bodyParser.urlencoded(), bodyParser.json());
9-
apiServer.use('/api/apps/public/:appId', bodyParser.urlencoded(), bodyParser.json());
8+
apiServer.use('/api/apps/private/:appId/:hash', bodyParser.urlencoded({ extended: true }), bodyParser.json());
9+
apiServer.use('/api/apps/public/:appId', bodyParser.urlencoded({ extended: true }), bodyParser.json());

0 commit comments

Comments
 (0)