基于Sharepoint Framework的解决方案从akamaihd加载脚本文件 [英] Sharepoint Framework Based solution loading script files from akamaihd

查看:105
本文介绍了基于Sharepoint Framework的解决方案从akamaihd加载脚本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应用程序正在从url下面加载一个文件,并在控制台中显示安全警告。我想知道这对于部署到生产环境是否安全,任何支持ms文件都会有所帮助。


spoprod-a.akamaihd.net/files/sp-client- prod_2019-02-08.010 /
$


sp-classic-page-assembly_en-us_3909599d6a3078a2c1ef2740f112c703.js

解决方案

您好,


您是否从Office 365 CDN托管了客户端Web部件?


请检查以下文章中的步骤。


https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/hosting-extension-from-office365-cdn


并尝试运行"gulp trust-dev-cert"在bundle和package-solution之前。


并检查下面的线程有类似的问题。


https://veenstra.me.uk/2017/05/09/office-365-sharepoint-spfx-there-was-a-network-problem-this-may-be -a-problem-with-a-https-certificate-make-sure-you-the-right-certificate /


https://sharepoint.stackexchange.com/questions/209886/spfx-failed-to-load-路径依赖于组件


最好的问候,


Dennis


application is loading a file from below url and showing a security warning in the console. wanted to know f this is safe to deploy to production environment, any supporting ms documents will be helpful

spoprod-a.akamaihd.net/files/sp-client-prod_2019-02-08.010/

sp-classic-page-assembly_en-us_3909599d6a3078a2c1ef2740f112c703.js

解决方案

Hi,

Did you host client-side web part from Office 365 CDN?

Please check the steps in article below.

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/hosting-extension-from-office365-cdn

And try to run "gulp trust-dev-cert" before bundle and package-solution.

And check the threads below with similar issue.

https://veenstra.me.uk/2017/05/09/office-365-sharepoint-spfx-there-was-a-network-problem-this-may-be-a-problem-with-a-https-certificate-make-sure-you-have-the-right-certificate/

https://sharepoint.stackexchange.com/questions/209886/spfx-failed-to-load-path-dependency-from-component

Best Regards,

Dennis


这篇关于基于Sharepoint Framework的解决方案从akamaihd加载脚本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆