NestJS - Middleware
What will happen if you call
app.enableCors({ origin: 'https://example.com' }) in a NestJS app?app.enableCors({ origin: 'https://example.com' }) in a NestJS app?origin to a specific URL restricts cross-origin requests to that URL only.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions