Update main.go
Some checks failed
Build and Publish / Metadata (push) Successful in 13s
Build and Publish / BuildAndDeployAmd64 (push) Has been cancelled
Build and Publish / BuildAndDeployArm64 (push) Has started running

This commit is contained in:
matst80
2025-11-05 18:27:43 +01:00
parent 42913a079f
commit 0a86bd380a

View File

@@ -168,7 +168,7 @@ func main() {
log.Fatalf("Unable to start otel %v", err)
}
mux.Handle("/cart", syncedServer.Serve())
syncedServer.Serve(mux)
// only for local
mux.HandleFunc("GET /add/remote/{host}", func(w http.ResponseWriter, r *http.Request) {
pool.AddRemote(r.PathValue("host"))