Razvan
07/27/2021, 9:04 AMServerFilters.Cors(corsPolicy).then(app)
works ok the app anwers to OPTIONS request
but if it do:
routes(ServerFilters.Cors(corsPolicy).then(app))
it does not, I get a 405.
Any obvious reason why?
And why I would want that is because I don't want to apply the same rules to all the endpoints.
Thx.