mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2025-08-09 15:41:40 +02:00
Update readme
This commit is contained in:
@ -421,6 +421,9 @@ func peerdel(w http.ResponseWriter, r *http.Request) { //Waiting for test
|
||||
http_sconfig.Peers = peers_new
|
||||
configbytes, _ := yaml.Marshal(http_sconfig)
|
||||
ioutil.WriteFile(http_sconfig_path, configbytes, 0644)
|
||||
w.WriteHeader(http.StatusOK)
|
||||
w.Write([]byte(toDelete.ToString() + " deleted."))
|
||||
return
|
||||
}
|
||||
|
||||
func HttpServer(http_port int, apiprefix string) {
|
||||
|
Reference in New Issue
Block a user