Skip to content

Commit b95f2d8

Browse files
author
Phil Varner
committed
increase max post body size
1 parent eb677a4 commit b95f2d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lambdas/api/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const app = express()
2323

2424
app.use(logger('dev'))
2525
app.use(cors())
26-
app.use(express.json())
26+
app.use(express.json({ limit: '1mb' }))
2727
app.use(addEndpoint)
2828

2929
app.get('/', async (req, res, next) => {

0 commit comments

Comments
 (0)