How to properly implement two CORS polices in .NET Core 3.1 API? [middleware or attributes]

前端 未结 0 464
陌清茗
陌清茗 2021-02-09 03:05

I have met with a design problem of implementing additional CORS policy in my API. Before it, I just used this following code:

ConfigureServices:

services.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题