DEV Community

Discussion on: Suddenly getting CORS errors in a .Net web application

Collapse
kylemit profile image
Kyle

Very interesting - every error we have always comes back with CORS warnings, so I’m thinking this is why. Wondering if there’s any way to change the error handling behavior in the middleware?

Collapse
stegriff profile image
Stephen Griffiths Author

Thanks for the thoughtful comment Kyle, I'd like to know if you find out the answer to this! Maybe the behaviour where the CORS headers are being stripped off can be prevented or reversed...