[examples/custom-server-fastify] Fix ts(2341) (#11844)
* Fix ts(2341) Property 'handleRequest' is private and only accessible within class 'Server'.ts(2341) * Update server.js Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
This commit is contained in:
parent
dcb0a656f5
commit
ccefab76dd
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ fastify.register((fastify, opts, next) => {
|
|||
.then(() => {
|
||||
if (dev) {
|
||||
fastify.get('/_next/*', (req, reply) => {
|
||||
return app.handleRequest(req.req, reply.res).then(() => {
|
||||
return handle(req.req, reply.res).then(() => {
|
||||
reply.sent = true
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue