mirror of
https://github.com/ConvoyPanel/panel.git
synced 2026-07-02 17:14:24 +08:00
11 lines
274 B
TypeScript
11 lines
274 B
TypeScript
import http from '@/api/http'
|
|
|
|
export interface NetworkSettings {
|
|
nameservers: string[]
|
|
}
|
|
|
|
export default async (uuid: string): Promise<NetworkSettings> => {
|
|
const { data: { data } } = await http.get(`/api/client/servers/${uuid}/settings/network`)
|
|
|
|
return data
|
|
} |