mirror of
https://github.com/handsomezhuzhu/personal-navigation-site.git
synced 2026-04-18 22:32:52 +00:00
feat: update AI API proxy servers and add label for Oracle
Change server list and style label for Oracle server. 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: ["Oracle", "Google-Iowa", "Google-Oregon"],
|
||||||
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: ["Oracle", "Google-Iowa", "Google-Oregon"],
|
||||||
cdn: "ESA API加速",
|
cdn: "ESA API加速",
|
||||||
url: "https://ai-proxy.zhuzihan.com",
|
url: "https://ai-proxy.zhuzihan.com",
|
||||||
},
|
},
|
||||||
@@ -337,6 +337,7 @@ function getCdnBadgeStyle(cdn: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getServerBadgeStyle(server: string) {
|
function getServerBadgeStyle(server: string) {
|
||||||
|
if (server.includes("Oracle")) return "bg-red-600/20 text-red-400"
|
||||||
if (server.includes("DigitalOcean")) return "bg-blue-500/20 text-blue-400"
|
if (server.includes("DigitalOcean")) return "bg-blue-500/20 text-blue-400"
|
||||||
if (server.includes("Azure")) return "bg-sky-500/20 text-sky-400"
|
if (server.includes("Azure")) return "bg-sky-500/20 text-sky-400"
|
||||||
if (server.includes("华为")) return "bg-red-500/20 text-red-400"
|
if (server.includes("华为")) return "bg-red-500/20 text-red-400"
|
||||||
|
|||||||
Reference in New Issue
Block a user