rsnext/test/integration/edge-runtime-response-error/middleware.js
Meno Abels 6652d783e4
proper error if middleware or api/route not return a Response (#41336)
## Bug

The error which is thrown if the fetch method returns not a falsy or
Response value
is misleading.

Co-authored-by: Balázs Orbán <info@balazsorban.com>
2022-10-12 14:02:25 +02:00

6 lines
105 B
JavaScript

// populated with tests
export default () => {
return 'Boom'
}
export const config = { matcher: '/' }