mirror of
https://github.com/handsomezhuzhu/personal-navigation-site.git
synced 2026-02-20 19:50:16 +00:00
feat: add Google-Taiwan backend and update server list
Add new Google-Taiwan backend and update server counts and styles Co-authored-by: Simon <85533298+handsomezhuzhu@users.noreply.github.com>
This commit is contained in:
@@ -82,14 +82,14 @@ const categories: Category[] = [
|
|||||||
{
|
{
|
||||||
domain: "api-proxy.zhuzihan.com",
|
domain: "api-proxy.zhuzihan.com",
|
||||||
name: "AI API转发",
|
name: "AI API转发",
|
||||||
server: ["狐蒂云-美国", "Google-Iowa", "Google-Oregon"],
|
server: ["狐蒂云-美国", "Google-Iowa", "Google-Oregon", "Google-Taiwan"],
|
||||||
cdn: "ESA API加速",
|
cdn: "ESA API加速",
|
||||||
url: "https://api-proxy.zhuzihan.com",
|
url: "https://api-proxy.zhuzihan.com",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
domain: "ai-proxy.zhuzihan.com",
|
domain: "ai-proxy.zhuzihan.com",
|
||||||
name: "AI API转发",
|
name: "AI API转发",
|
||||||
server: ["狐蒂云-美国", "Google-Iowa", "Google-Oregon"],
|
server: ["狐蒂云-美国", "Google-Iowa", "Google-Oregon", "Google-Taiwan"],
|
||||||
cdn: "ESA API加速",
|
cdn: "ESA API加速",
|
||||||
url: "https://ai-proxy.zhuzihan.com",
|
url: "https://ai-proxy.zhuzihan.com",
|
||||||
},
|
},
|
||||||
@@ -176,6 +176,13 @@ const categories: Category[] = [
|
|||||||
cdn: "无加速",
|
cdn: "无加速",
|
||||||
url: "https://google2.zhuzihan.com",
|
url: "https://google2.zhuzihan.com",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
domain: "google3.zhuzihan.com",
|
||||||
|
name: "Google-Taiwan管理后台",
|
||||||
|
server: "Google-Taiwan",
|
||||||
|
cdn: "无加速",
|
||||||
|
url: "https://google3.zhuzihan.com",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
domain: "hdy.zhuzihan.com",
|
domain: "hdy.zhuzihan.com",
|
||||||
name: "狐蒂云-日本管理后台",
|
name: "狐蒂云-日本管理后台",
|
||||||
@@ -310,7 +317,7 @@ function getServerBadgeStyle(server: string) {
|
|||||||
if (server.includes("网易") || server.includes("企业邮箱")) return "bg-red-500/20 text-red-400"
|
if (server.includes("网易") || server.includes("企业邮箱")) return "bg-red-500/20 text-red-400"
|
||||||
if (server.includes("狐蒂云-日本")) return "bg-pink-500/20 text-pink-400"
|
if (server.includes("狐蒂云-日本")) return "bg-pink-500/20 text-pink-400"
|
||||||
if (server.includes("狐蒂云-美国")) return "bg-violet-500/20 text-violet-400"
|
if (server.includes("狐蒂云-美国")) return "bg-violet-500/20 text-violet-400"
|
||||||
if (server.includes("Google-Iowa") || server.includes("Google-Oregon")) return "bg-green-500/20 text-green-400"
|
if (server.includes("Google-Iowa") || server.includes("Google-Oregon") || server.includes("Google-Taiwan")) return "bg-green-500/20 text-green-400"
|
||||||
return "bg-muted text-muted-foreground"
|
return "bg-muted text-muted-foreground"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user