Connect List,Add Tenants (#148)
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user