nestjs cors dotnot woriking
const app = await NestFactory.create<NestExpressApplication>(AppModule, {
cors: true
});
Restu Wahyu Saputra
const app = await NestFactory.create<NestExpressApplication>(AppModule, {
cors: true
});
app.enableCors({
origin: true
})