嗨,我已经开发了一个小的web api crud应用程序,并托管在IIS服务器上。我可以做所有的操作。我托管在服务器192.168.0.213:7777中,它工作得很好。Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' headerOrigin 'http://localhost:26079' is therefore not
请注意,一个奇怪的角/ IIS问题即将出现:我已经创建了一个使用$cookies在用户登录后存储oauth访问令牌的角1.4.0应用程序。当我将网站部署到IIS服务器(我尝试过Azure和远程服务器)时,在本地主机上工作得很好的东西就会失败。我不明白为什么。它始终是相同的过程,但是保存/读取cookie似乎只在本地起作用。test' contains the correct token on localhost
// 'test' is undefined whenever