我正在使用WinJS为Windows 8和10开发一个简单的应用程序。该应用程序使用Winjs.xhr发出Http请求。
我开发了在启用了CORS的服务器上托管的Web API。现在,当我在开发机器(托管API)中安装我的Win应用程序时,Win App可以下载数据。
在远程计算机上,它失败了。它执行错误代码块并返回readyState = 4,status = 0。
详细说明问题I&m面对here
答案 0 :(得分:0)
最后解决了我花了3天时间到处寻找这个搜索。
我一直在使用Internet(client)
网址发送请求。最初,我已将应用功能设置为Internet(client & server)
和Private Network (Client & Server)
。后来在重新思考时我意识到,由于它是通过网络路由的,我可能还需要// 34 is your category id
if (is_category('34'))
{
add_filter( 'body_class', function( $classes ) {
if ( isset( $classes['your-class-name'] ) ) {
unset( $classes['your-class-name'] );
}
return $classes;
} );
}
// When the archive page for Category 34 is being displayed.
进行检查。
目前已解决了这个问题,并创建了一个问题"我是否需要在商店发布时对其进行检查?"
另一个偏离主题的问题,如何假设所有这些PC都与一个域下的单个AD服务器连接,如何在所有计算机上同时加载此应用程序?