解决 Ionic 浏览器跨域问题

<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Headers" value="Origin, X-Requested-With, Content-Type, Accept, Authorization" />
<add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" />
</customHeaders>
</httpProtocol>

  在web.config的system.webServer节点下添加以上代码system.webServer

上一篇:《通过C#学Proto.Actor模型》之PID


下一篇:POJ-2777-CountColor(线段树,位运算)