SharePoint 2013托管应用程序:站点不断刷新/重新加载 [英] SharePoint 2013 Hosted applications: site continuously refreshing / reloading
问题描述
我在托管应用程序上遇到问题:网站不断刷新/重新加载
错误:
来自原产地'http://sitecollection.domain.com'的'https://apps.domain.com/web-services/GetListData.svc/ReadListData'访问XMLHttpRequest已被CORS阻止策略:对预检请求的响应未通过访问控制检查:请求的资源上没有'Access-Control-Allow-Origin'
标头。
请建议..
嗨Gayam,
我认为以下链接可以帮助您理解: 没有'访问权限-Control-Allow-Origin'标题
如何使用CORS代理来绕过 "No Access-Control-Allow-Origin标题" 问题
如何避免CORS预检
如何修复 "Access-Control-Allow-Origin标头不能是通配符" 问题
祝你好运。
Hi,
I am facing issue on Hosted applications: site continuously refreshing / reloading
error:
Access to XMLHttpRequest at 'https://apps.domain.com/web-services/GetListData.svc/ReadListData' from origin 'http://sitecollection.domain.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Please advice..
Hi Gayam,
I think the following link can help you to understand : No 'Access-Control-Allow-Origin' header
- How to use a CORS proxy to get around "No Access-Control-Allow-Origin header" problems
- How to avoid the CORS preflight
- How to fix "Access-Control-Allow-Origin header must not be the wildcard" problems
Good luck.
这篇关于SharePoint 2013托管应用程序:站点不断刷新/重新加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!