better visibility in requests
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m49s

This commit is contained in:
matst80
2024-11-10 20:49:40 +01:00
parent b93e249b44
commit 21f667659f

View File

@@ -137,7 +137,7 @@ func main() {
} }
}() }()
syncedServer := NewPoolServer(syncedPool, name) syncedServer := NewPoolServer(syncedPool, fmt.Sprintf("%s, %s", name, podIp))
mux := http.NewServeMux() mux := http.NewServeMux()
mux.Handle("/api/", http.StripPrefix("/api", syncedServer.Serve())) mux.Handle("/api/", http.StripPrefix("/api", syncedServer.Serve()))
// only for local // only for local