Swashbuckle Swagger - Refused to execute inline script because it violates the following Content Security Policy directive

前端 未结 0 1494
既然无缘
既然无缘 2020-12-14 19:29

I\'ve added a CSP header (using custom middleware) to the response of Web API. Unfortunately, it broke a Swagger UI which is generated by Swashbuckle Nuget v5.6.0. The probl

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