2020年8月21日
摘要: js 实现 http 强制重定向至 https var reg = /^(192.168.1.)/; if(window.location.hostname !== 'localhost' && !reg.test(window.location.hostname)) { // 判断非本地serve 阅读全文
posted @ 2020-08-21 10:23 梦幻飞雪 阅读(3872) 评论(1) 推荐(0) 编辑