diff --git a/app/(main)/ClientComponents/ServerDetailClient.tsx b/app/(main)/ClientComponents/ServerDetailClient.tsx index 724e30c2a..51d4263f7 100644 --- a/app/(main)/ClientComponents/ServerDetailClient.tsx +++ b/app/(main)/ClientComponents/ServerDetailClient.tsx @@ -191,7 +191,19 @@ export default function ServerDetailClient({

{t("CPU")}

{data?.host.CPU ? ( -
{data?.host.CPU}
+
{data?.host.CPU.join(", ")}
+ ) : ( +
Unknown
+ )} +
+ + + + +
+

{"GPU"}

+ {data?.host.GPU ? ( +
{data?.host.GPU.join(", ")}
) : (
Unknown
)} diff --git a/app/types/nezha-api.ts b/app/types/nezha-api.ts index 899809a63..92dee5d96 100644 --- a/app/types/nezha-api.ts +++ b/app/types/nezha-api.ts @@ -35,7 +35,7 @@ export interface NezhaAPIHost { BootTime: number; CountryCode: string; Version: string; - GPU: null; + GPU: string[]; } export interface NezhaAPIStatus {