mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-09 20:29:23 +02:00
feat(server): patch VPN settings
- `PUT` at `/v1/vpn/settings` - Undocumented, experimental for now
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
func (s *State) GetSettings() (vpn settings.VPN) {
|
||||
s.settingsMu.RLock()
|
||||
vpn = s.vpn
|
||||
vpn = s.vpn.Copy()
|
||||
s.settingsMu.RUnlock()
|
||||
return vpn
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user