Access-Control-Allow-Origin in nestjs code example Example: nestjs cors origin const app = await NestFactory.create(AppModule, { cors: true });