add remove server from networks with api. Add to default network by default.

This commit is contained in:
afeiszli
2021-04-06 19:13:34 -04:00
parent 5b955f2201
commit f3f2140f23
8 changed files with 230 additions and 64 deletions

View File

@@ -29,6 +29,7 @@ func HandleRESTRequests(wg *sync.WaitGroup) {
userHandlers(r)
groupHandlers(r)
fileHandlers(r)
serverHandlers(r)
port := config.Config.Server.ApiPort
if os.Getenv("API_PORT") != "" {