diff --git a/apps/admin/app/dashboard/servers/page.tsx b/apps/admin/app/dashboard/servers/page.tsx
index 333e1d6..bc84509 100644
--- a/apps/admin/app/dashboard/servers/page.tsx
+++ b/apps/admin/app/dashboard/servers/page.tsx
@@ -52,7 +52,7 @@ function RegionIpCell({
return (
+
{list.map((p, idx) => {
+ const ratio = Number(p.ratio ?? 1) || 1;
return (
-
- {p.type} ({p.port})
-
+
+ {ratio.toFixed(2)}x
+ {p.type}
+ {p.port}
+
);
})}
@@ -218,15 +221,7 @@ export default function ServersPage() {
header: t('onlineUsers'),
cell: ({ row }) =>
,
},
- {
- id: 'traffic_ratio',
- header: t('traffic_ratio'),
- cell: ({ row }) => {
- const raw = row.original.ratio as unknown;
- const ratio = Number(raw ?? 1) || 1;
- return
{ratio.toFixed(2)}x;
- },
- },
+ // traffic ratio moved to per-protocol configs; column removed
]}
params={[{ key: 'search' }]}
request={async (pagination, filter) => {
@@ -291,11 +286,11 @@ export default function ServersPage() {
setLoading(true);
const { id, created_at, updated_at, last_reported_at, status, ...others } =
row as any;
+ // @ts-expect-error
const body: API.CreateServerRequest = {
name: others.name,
country: others.country,
city: others.city,
- ratio: others.ratio,
address: others.address,
protocols: others.protocols || [],
};