IIS .NETCORE跨域问题

<system.webServer>
<httpProtocol>
<customHeaders>
<remove name="Access-Control-Allow-Origin" />
<remove name="Access-Control-Allow-Methods" />
<remove name="Access-Control-Allow-Headers" />
</customHeaders>
</httpProtocol>

</system.webServer>

 

关于net core 站点通过iis部署,跨域配置遇到的问题 - 郑小超 - 博客园 (cnblogs.com)

posted @ 2023-12-17 00:48  ucdos2023  阅读(21)  评论(0编辑  收藏  举报