Cors error after chrome update

Georges Mansour 0 Reputation points
2023-03-14T09:17:35.38+00:00

I'm having a Cors error issue. It was working normally and in the development the Cors is handle correctly on any browser. error.png

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,831 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Laxmikant 121 Reputation points
    2023-03-15T21:51:58.8166667+00:00

    try this

    chrome://flags/#out-of-blink-cors 

     

    Disable the 'out-of-blink-cors' flag by copying and pasting that address into the address bar of Chrome followed by [enter]. In the page that opens you'll see a highlighted so-called 'flag' (experiment). Disable it and restart Chrome

    for info check this - https://geeksarray.com/blog/how-to-setup-cors-policies-in-aspnet-core-web-api

    paste this in chrome

    chrome://flags/#out-of-blink-cors