Open Closed

Getting CORS Error in Azure #10371


0
defraudit created

I am using product version 10.3 product type Angular, .net 5

My Appsetting in Host Project lookes like this.

{
    "ConnectionStrings": {
        "Default": "..."
    },
    "App": {
        "ServerRootAddress": "https://evalapp.azurewebsites.net/",
        "ClientRootAddress": "https://evaltechnology.com/",
        "CorsOrigins": "http://*.mycompany.com,http://localhost:4200,http://localhost:9876,https://*.azurewebsites.net,http://*.azurewebsites.net,http://*.evaltechnology.com,https://*.evaltechnology.com"
    }
}

Not sure why i am getting cors error


1 Answer(s)
  • 0
    defraudit created

    I Got this resolved I had to give absolute url in CorsOrigins