mirror of
https://github.com/ConvoyPanel/panel.git
synced 2026-06-11 06:20:47 +08:00
10 lines
242 B
TypeScript
10 lines
242 B
TypeScript
import http from '@/api/http'
|
|
|
|
const updateNetworkSettings = (uuid: string, nameservers: string[]) => {
|
|
return http.put(`/api/client/servers/${uuid}/settings/network`, {
|
|
nameservers,
|
|
})
|
|
}
|
|
|
|
export default updateNetworkSettings
|