Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Cors policy block after running UI locally #11990


User avatar
0
gryphon644 created

Hi,

I deployed my Web. Host on Azure but trying to work with the AngularUI locally but I'm getting this Cors policy error!

I've commented the Cors service declaration on my Startup.cs and ** // app.UseCors(DefaultCorsPolicyName); //Enable CORS!**

but it's still not allowing me to run the UI locally.

I would appreciate any help. Thanks


1 Answer(s)
  • User Avatar
    0
    gryphon644 created

    Fixed it