Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What middleware is required in Express to handle CORS?
app.enableCORS()
app.use(cors())
app.use(corsMiddleware())
app.allowCrossOrigin()
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!