Handler-Mapping angepasst auf "/"

This commit is contained in:
SourceFellows authored and GitHub committed 2021-04-06 05:58:03 +02:00
1 parent 188784ed02
commit f0712cdc64
1 file changed
+1 -1
+1 -1
View File
@@ -7,6 +7,6 @@ func handleHttp(res http.ResponseWriter, req *http.Request) {
} }
func main() { func main() {
http.HandleFunc("/a/", handleHttp) http.HandleFunc("/", handleHttp)
http.ListenAndServe(":8080", nil) http.ListenAndServe(":8080", nil)
} }