rsnext/test/integration/api-support/pages/api/test-no-end.js
JJ Kasper 14ca20d0d5 Add warning when API resolves without the request being finished (#9999)
* Add error when API resolves without the request being finished

* Update to only show warning in development instead

* Update packages/next/next-server/server/api-utils.ts

Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-10 10:56:20 -05:00

4 lines
65 B
JavaScript

export default (req, res) => {
console.log('hi')
return {}
}