OpenEugene / little-help-book-api

the little help book api and sample app
MIT License
1 stars 0 forks source link

gitflow-feature-stash: cors #3

Closed markdav-is closed 3 years ago

colindavey commented 3 years ago

It looks like this successfully emulates the CORS with named policy and middleware option from https://docs.microsoft.com/en-us/aspnet/core/security/cors?view=aspnetcore-5.0. Unless I'm missing something, builder.WithOrigins includes "http://littlehelpbook.com" twice.

colindavey commented 3 years ago

After 2nd commit, it looks like it's going for the wide open option.

markdav-is commented 3 years ago

for sure! like who are we protecting ourselves from?