Fix vet and linting errors

This commit is contained in:
Remco
2017-03-22 21:09:40 +01:00
parent 8277e88bbd
commit 01c2d426ed
3 changed files with 39 additions and 29 deletions

View File

@ -264,7 +264,7 @@ func (s *Server) Run() {
// The file will show a preview page when opening the link in browser directly or
// from external link. If the referer url path and current path are the same it will be
// downloaded.
if !acceptsHtml(r.Header) {
if !acceptsHTML(r.Header) {
return false
}