Handler-Mapping angepasst auf "/"

This commit is contained in:
SourceFellows 2021-04-06 05:58:03 +02:00 committed by GitHub
parent 188784ed02
commit f0712cdc64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}