12 lines
153 B
JavaScript
12 lines
153 B
JavaScript
|
export const config = {
|
||
|
api: {
|
||
|
bodyParser: {
|
||
|
sizeLimit: '5mb'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default (req, res) => {
|
||
|
res.status(200).json(req.body)
|
||
|
}
|