mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
* Dynamic routes for API * New structure * Change next config * Refactoring tests * Fix newline * Fix tests * Remove dynamic from config * Apply suggestions from code review Co-Authored-By: Joe Haddad <[email protected]> * Update index.test.js
4 lines
66 B
JavaScript
4 lines
66 B
JavaScript
export default (req, res) => {
|
|
res.status(200).json(req.body)
|
|
}
|