From f0712cdc6475798160e23cf3ab4986dbeb51baaf Mon Sep 17 00:00:00 2001 From: SourceFellows <59087211+SourceFellows@users.noreply.github.com> Date: Tue, 6 Apr 2021 05:58:03 +0200 Subject: [PATCH] Handler-Mapping angepasst auf "/" --- microservices/simple-http/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microservices/simple-http/main.go b/microservices/simple-http/main.go index d7f2738..69c0232 100644 --- a/microservices/simple-http/main.go +++ b/microservices/simple-http/main.go @@ -7,6 +7,6 @@ func handleHttp(res http.ResponseWriter, req *http.Request) { } func main() { - http.HandleFunc("/a/", handleHttp) + http.HandleFunc("/", handleHttp) http.ListenAndServe(":8080", nil) }