mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Update server listing and associated logic to pull from the panel dynamiacally
This commit is contained in:
@@ -4,6 +4,7 @@ export interface Allocation {
|
||||
ip: string;
|
||||
alias: string | null;
|
||||
port: number;
|
||||
default: boolean;
|
||||
}
|
||||
|
||||
export interface Server {
|
||||
@@ -36,6 +37,7 @@ export const rawDataToServerObject = (data: any): Server => ({
|
||||
ip: data.allocation.ip,
|
||||
alias: null,
|
||||
port: data.allocation.port,
|
||||
default: true,
|
||||
}],
|
||||
limits: { ...data.limits },
|
||||
featureLimits: { ...data.feature_limits },
|
||||
|
||||
Reference in New Issue
Block a user