Skip to content

World's first open-source enterprise world model.

Show the official site's mark in the tab: index.html had no icon link, so /favicon.ico fell through to the SPA fallback (#826)

Qishang Zhong2bedda293273
diff --git a/web/index.html b/web/index.html
index 696caf4b..73a49250 100644
--- a/web/index.html
+++ b/web/index.html
@@ -3,6 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <!-- 标签页图标:public/favicon.svg 原样进产物根目录,由服务端托管 -->
+ <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
diff --git a/web/public/favicon.svg b/web/public/favicon.svg
new file mode 100644
index 00000000..746e380e
--- /dev/null
+++ b/web/public/favicon.svg
@@ -0,0 +1,7 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
+ <rect width="64" height="64" rx="13" fill="#0a0a0a"/>
+ <rect x="0.5" y="0.5" width="63" height="63" rx="12.5" fill="none" stroke="#ffffff" stroke-opacity="0.14"/>
+ <text x="32" y="45.5" text-anchor="middle"
+ font-family="Marcellus, Georgia, 'Times New Roman', serif"
+ font-size="40" fill="#ededed">U</text>
+</svg>