Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtualHotBar authored Jul 30, 2024
1 parent 38e10af commit 8858002
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

<head>
<meta charset="UTF-8">
<link rel="shortcut icon" href="//p1.hotpe.top/i/p/1/66a91b7c805a2.png" />
<link rel="icon" type="image/svg+xml" href="//p1.hotpe.top/i/p/1/66a91b7c805a2.png" />
<link rel="apple-touch-icon" href="//p1.hotpe.top/i/p/1/66a91b7c805a2.png">
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="author" content="VirtualHotBar">
Expand All @@ -20,21 +20,6 @@

<title>WinNew - 关于</title>

<script>
document.addEventListener("DOMContentLoaded", function() {
const cdnBasePath = '//p1.hotpe.top/gh/VirtualHotBar/WinNew_Web@dist';
const elements = document.querySelectorAll('script[src], link[href]');

elements.forEach(function(el) {
let currentSrc = el.src || el.href;
if (currentSrc.includes('static/js/') || currentSrc.includes('static/css/')) {
el.src = el.src.replace('/static/js/', `${cdnBasePath}/static/js/`);
el.href = el.href.replace('/static/css/', `${cdnBasePath}/static/css/`);
}
});
});
</script>

<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
Expand Down

0 comments on commit 8858002

Please sign in to comment.