11 lines
No EOL
274 B
TypeScript
11 lines
No EOL
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
|
|
} |