Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lesismal authored Feb 18, 2022
1 parent 99f1997 commit 77c42eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autobahn/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func min(a, b int) int {
func handlerIndex() func(w http.ResponseWriter, r *http.Request) {
return func(w http.ResponseWriter, r *http.Request) {
if *verbose {
log.Printf("reqeust to %s", r.URL)
log.Printf("reqeust to %s", r.URL.Path)
}
if r.URL.Path != "/" {
w.WriteHeader(http.StatusNotFound)
Expand Down

0 comments on commit 77c42eb

Please sign in to comment.