Skip to content

Commit

Permalink
Fixed linter warning; document StaticHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
skx committed Aug 19, 2020
1 parent a0338d9 commit 90445f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd_serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,12 @@ func NodeHandler(res http.ResponseWriter, req *http.Request) {
}
}

// StaticHandler is responsible for returning the contents of
// all our embedded resources to HTTP-clients.
//
// It is configured as 404-handler, and can look for resources,
// serving those that are present, and returning genuine 404
// responses for requests that are entirely unknown.
func StaticHandler(res http.ResponseWriter, req *http.Request) {

//
Expand Down

0 comments on commit 90445f6

Please sign in to comment.