diff --git a/README.md b/README.md index 9f2b9b8..edf41e7 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,9 @@ -| 一键部署到 Vercel-推荐 | Docker部署 | Cloudflare部署 | 如何更新? | -| ----------------------------------------------------- | --------------------------------------------------------------- | ---------------------------------------------------------------------------- | --------------------------------------------------------- | -| [部署简易教程](https://buycoffee.top/blog/tech/nezha) | [Docker 部署教程](https://buycoffee.top/blog/tech/nezha-docker) | [Cloudflare 部署教程](https://buycoffee.top/blog/tech/nezha-cloudflare) | [更新教程](https://buycoffee.top/blog/tech/nezha-upgrade) | -| [Vercel-demo](https://nezha-vercel.buycoffee.top) | [Docker-demo](https://nezha-docker.buycoffee.tech) | [Cloudflare-demo](https://nezha-cloudflare.buycoffee.tech) [密码: nezhadash] | +| 一键部署到 Vercel-推荐 | Docker部署 | Cloudflare部署 | 如何更新? | +| ----------------------------------------------------- | --------------------------------------------------------------- | ----------------------------------------------------------------------- | --------------------------------------------------------- | +| [部署简易教程](https://buycoffee.top/blog/tech/nezha) | [Docker 部署教程](https://buycoffee.top/blog/tech/nezha-docker) | [Cloudflare 部署教程](https://buycoffee.top/blog/tech/nezha-cloudflare) | [更新教程](https://buycoffee.top/blog/tech/nezha-upgrade) | #### Cloudflare 部署所需环境变量 diff --git a/changelogithub.config.json b/changelogithub.config.json new file mode 100644 index 0000000..b410eb3 --- /dev/null +++ b/changelogithub.config.json @@ -0,0 +1,15 @@ +{ + "types": { + "feat": { "title": "🚀 Features" }, + "fix": { "title": "🔧 Bug Fixes" }, + "docs": { "title": "📚 Documentation" }, + "style": { "title": "💄 Styles" }, + "refactor": { "title": "🔨 Refactor" }, + "perf": { "title": "🏎 Performance" }, + "test": { "title": "🚨 Tests" }, + "build": { "title": "🛠 Build" }, + "ci": { "title": "👷 CI" }, + "chore": { "title": "🛗 Chore" }, + "revert": { "title": "⏪ Revert" } + } +} diff --git a/components/ServerCard.tsx b/components/ServerCard.tsx index fb08cfa..97f651b 100644 --- a/components/ServerCard.tsx +++ b/components/ServerCard.tsx @@ -16,7 +16,7 @@ export default function ServerCard({ }) { const t = useTranslations("ServerCard"); const router = useRouter(); - const { id, name, country_code, online, cpu, up, down, mem, stg } = + const { id, name, country_code, online, cpu, up, down, mem, stg, tcp, udp } = formatNezhaInfo(serverInfo); const showFlag = getEnv("NEXT_PUBLIC_ShowFlag") === "true"; @@ -62,7 +62,11 @@ export default function ServerCard({
{t("CPU")}
TCP
+UDP
+