Skip to content

Commit

Permalink
check https url
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmmc committed Sep 6, 2019
1 parent 84a8ad2 commit c88c3d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions static.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
</body>

<script>
if(window.location.protocol==='https:'&&window.location.hostname.indexOf('xip.lhjmmc.cn')===-1){
alert('Please access https by https://x-x-x-x.xip.lhjmmc.cn:8443')
}
if (!localStorage)
localStorage = {}
var scale = localStorage.scaleV13 || 1;
Expand Down

0 comments on commit c88c3d5

Please sign in to comment.