在用jq做官网的项目时打包到线上引入的百度api 报错的解决方法

解决的方法:
使用META标签强制将http请求转成https(SSL协议)请求
页面的head中加入:
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
在用jq做官网的项目时打包到线上引入的百度api 报错的解决方法
使用META标签强制将http请求转成https(SSL协议)请求
页面的head中加入:
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
本文标题:在https 上百度api 的请求报错
本文链接:https://www.haomeiwen.com/subject/mgbsuktx.html
网友评论