Skip to content

Commit 009f9be

Browse files
committed
fix: #0611 修改图标
1 parent c7aedd8 commit 009f9be

3 files changed

Lines changed: 41 additions & 35 deletions

File tree

index.html

Lines changed: 41 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,45 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<meta name="description" content="RRdis - Modern Redis Management. A high-performance desktop client for managing Redis clusters with precision and speed." />
7-
<title>RRdis - Modern Redis Management</title>
83

9-
<!-- Start Single Page Apps for GitHub Pages -->
10-
<script type="text/javascript">
11-
// Single Page Apps for GitHub Pages
12-
// MIT License
13-
// https://github.com/rafgraph/spa-github-pages
14-
// This script checks to see if a redirect is present in the query string,
15-
// converts it back into the correct url and adds it to the
16-
// browser's history using window.history.replaceState(...),
17-
// which won't cause the browser to attempt to load the new url.
18-
// When the single page app is loaded further down in this file,
19-
// the correct url will be waiting in the browser's history for
20-
// the single page app to route accordingly.
21-
(function(l) {
22-
if (l.search[1] === '/' ) {
23-
var decoded = l.search.slice(1).split('&').map(function(s) {
24-
return s.replace(/~and~/g, '&')
25-
}).join('?');
26-
window.history.replaceState(null, null,
27-
l.pathname.slice(0, -1) + decoded + l.hash
28-
);
29-
}
30-
}(window.location))
31-
</script>
32-
<!-- End Single Page Apps for GitHub Pages -->
33-
</head>
34-
<body>
35-
<div id="root"></div>
36-
<script type="module" src="/src/main.tsx"></script>
37-
</body>
38-
</html>
4+
<head>
5+
<meta charset="UTF-8" />
6+
<link rel="icon" type="image/x-icon" href="/rrdis-web/favicon.ico" />
7+
<link rel="icon" type="image/png" href="/favicon.png" />
8+
<link rel="apple-touch-icon" href="/assets/logo.png" />
9+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
10+
<meta name="description"
11+
content="RRdis - Modern Redis Management. A high-performance desktop client for managing Redis clusters with precision and speed." />
12+
<title>RRdis - Modern Redis Management</title>
3913

14+
<!-- Start Single Page Apps for GitHub Pages -->
15+
<script type="text/javascript">
16+
// Single Page Apps for GitHub Pages
17+
// MIT License
18+
// https://github.com/rafgraph/spa-github-pages
19+
// This script checks to see if a redirect is present in the query string,
20+
// converts it back into the correct url and adds it to the
21+
// browser's history using window.history.replaceState(...),
22+
// which won't cause the browser to attempt to load the new url.
23+
// When the single page app is loaded further down in this file,
24+
// the correct url will be waiting in the browser's history for
25+
// the single page app to route accordingly.
26+
(function (l) {
27+
if (l.search[1] === '/') {
28+
var decoded = l.search.slice(1).split('&').map(function (s) {
29+
return s.replace(/~and~/g, '&')
30+
}).join('?');
31+
window.history.replaceState(null, null,
32+
l.pathname.slice(0, -1) + decoded + l.hash
33+
);
34+
}
35+
}(window.location))
36+
</script>
37+
<!-- End Single Page Apps for GitHub Pages -->
38+
</head>
39+
40+
<body>
41+
<div id="root"></div>
42+
<script type="module" src="/src/main.tsx"></script>
43+
</body>
44+
45+
</html>

public/favicon.ico

5.02 KB
Binary file not shown.

public/favicon.png

5.02 KB
Loading

0 commit comments

Comments
 (0)