DEV Community

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

kylemit profile image

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?

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...