Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't use http.DefaultServeMux.

  • Loading branch information...
commit ebdfb8b8c1ecaee20a08403a3c6310eafe112908 1 parent 5d32751
@cespare authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  apachelog.go
View
2  apachelog.go
@@ -10,7 +10,7 @@ good to go.
Example:
- mux := http.DefaultServeMux
+ mux := http.NewServeMux()
mux.HandleFunc("/", handler)
loggingHandler := apachelog.NewHandler(mux, os.Stderr)
server := &http.Server{
Please sign in to comment.
Something went wrong with that request. Please try again.