Skip to content

Commit

Permalink
Fix addition of static handler
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed Mar 31, 2015
1 parent b0c0059 commit f699b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kuisp.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func main() {
}

if len(options.DefaultPage) > 0 {
http.Handle(options.StaticPrefix, defaultPageHandler(options.DefaultPage, httpDir, staticHandler))
staticHandler = defaultPageHandler(options.DefaultPage, httpDir, staticHandler)
}
if options.CompressHandler {
staticHandler = handlers.CompressHandler(staticHandler)
Expand Down

0 comments on commit f699b98

Please sign in to comment.