Skip to content

Commit

Permalink
remove stray line messing up /api/directory
Browse files Browse the repository at this point in the history
  • Loading branch information
chappjc committed Aug 27, 2017
1 parent 59bc41b commit 5fad9c7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apirouter.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ func newAPIRouter(app *appContext, userRealIP bool) apiMux {
// return
// }

mux.HandleFunc("/directory", APIDirectory)
mux.With(apiDocs(mux)).HandleFunc("/directory", APIDirectory)

var listRoutePatterns func(routes []chi.Route) []string
Expand Down

0 comments on commit 5fad9c7

Please sign in to comment.