You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It’s possible that the template has changed, and the description is outdated. I would greatly appreciate any help with setting up any CORS policy for all endpoints or for specific ones.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I’m trying to set up a CORS policy in the template, but unfortunately, it’s not working. I followed the documentation here: https://learn.microsoft.com/en-us/aspnet/core/security/cors?view=aspnetcore-8.0#ecors6 and also referred to the issue discussed here: #467.
It’s possible that the template has changed, and the description is outdated. I would greatly appreciate any help with setting up any CORS policy for all endpoints or for specific ones.
Here’s the link to a sample repository (using a Postgres database): https://github.com/markky21/CleanArchitectureCORSSetProblem/blob/main/src/Web/Program.cs
Beta Was this translation helpful? Give feedback.
All reactions