<script>
let url = window.location.href;
if (url.indexOf('https') < 0) {
url = url.replace('http:', 'https:');
window.location.replace(url);
}
</script>
本地开发的时候请注释掉以上代码
作者:Alone°李道长ご
wx66855d7060d41 ©著作权
文章标签 本地开发 文章分类 JavaScript 前端开发
<script>
let url = window.location.href;
if (url.indexOf('https') < 0) {
url = url.replace('http:', 'https:');
window.location.replace(url);
}
</script>
本地开发的时候请注释掉以上代码
作者:Alone°李道长ご
访问http跳转https。。。
http和httpshttphttp是一种无状态协议。无状态是指客户机和服务器之间不需要建立持久
简要介绍应用层的协议、状态码等
代理的核心功能可以用一句话概括:接受客户端的请求,转发到后端服务器,获得应答之后返
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M