You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If i put new FastifyAdapter()
like this const app = await NestFactory.create<NestFastifyApplication>( AppModule, new FastifyAdapter(), )
it will return error when i access localhost:3000
res.setHeader("Cache-Control", "no-cache, no-store, max-age=0, must-revalidate");
^
TypeError: res.setHeader is not a function
Is it can't support fastify adapter?
Because i serve static files from my server use the fastify adapter