Skip to content

Commit 535dabb

Browse files
author
Phil Varner
authored
Merge pull request #352 from stac-utils/pv/increase-max-post-body-size
increase max post body size
2 parents eb677a4 + b95f2d8 commit 535dabb

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)