Connect List,Add Tenants (#148)

This commit is contained in:
Daniel Valdivia
2020-06-02 09:52:37 -07:00
committed by GitHub
parent 0fa1d4bf7c
commit 8af3665ae2
15 changed files with 305 additions and 185 deletions

View File

@@ -164,7 +164,7 @@ func FileServerMiddleware(next http.Handler) http.Handler {
switch {
case strings.HasPrefix(r.URL.Path, "/ws"):
serveWS(w, r)
case strings.HasPrefix(r.URL.Path, "/api/v1/clusters"):
case strings.HasPrefix(r.URL.Path, "/api/v1/tenants"):
client := &http.Client{}
serverMkube(client, w, r)
case strings.HasPrefix(r.URL.Path, "/api"):