mirror of
https://github.com/SourceFellows/gobuch.git
synced 2024-11-23 22:23:17 +00:00
Handler-Mapping angepasst auf "/"
This commit is contained in:
parent
188784ed02
commit
f0712cdc64
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user