I\'ve enabled CORS in my NestJS app following the official tutorial, so my main.ts looks like the following:
main.ts
import { FastifyAdapter, NestFactory }
Try to use an approach described in here https://docs.nestjs.com/techniques/security#cors
const app = await NestFactory.create(ApplicationModule); app.enableCors(); await app.listen(3000);