Closed mrsteele closed 6 years ago
I couldn't find anything in the docs (and looking at the source-code this doesn't seem doable).
Could we add support to just hook into next.config.js instead of having to create a server.js file?
next.config.js
server.js
Afaik we can't add a request handler through the config file. I can't look closer at the moment, if you have an idea a PR is welcome!
I couldn't find anything in the docs (and looking at the source-code this doesn't seem doable).
Could we add support to just hook into
next.config.js
instead of having to create aserver.js
file?