Skip to content

Commit

Permalink
modify layui resource url to bytedance cdn
Browse files Browse the repository at this point in the history
modify layui resource url due to jsdelivr unavailbale in china
  • Loading branch information
BadApple9 authored Dec 20, 2021
1 parent 8432767 commit 039af01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions results.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/layui-src@2.5.7/dist/css/layui.css" media="all">
<link rel="stylesheet" href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/layui/2.5.7/css/layui.css" media="all">
<style>
.footer {line-height: 30px; text-align: center;}
.footer a{padding:0 6px; font-weight: 300;}
Expand All @@ -31,7 +31,7 @@ <h1>speedtest-x 测速结果</h1>
<a href="https://github.com/BadApple9/speedtest-x" target="_blank">speedtest-x 项目地址</a>
</div>

<script src="https://cdn.jsdelivr.net/npm/layui-src@2.5.7/dist/layui.js" charset="utf-8"></script>
<script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/layui/2.5.7/layui.js" charset="utf-8"></script>

<script>
layui.use('table', function(){
Expand All @@ -56,4 +56,4 @@ <h1>speedtest-x 测速结果</h1>
</script>

</body>
</html>
</html>

0 comments on commit 039af01

Please sign in to comment.