|
@ -22,7 +22,7 @@ import ( |
|
|
"gopkg.in/h2non/filetype.v1" |
|
|
"gopkg.in/h2non/filetype.v1" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
var fileTooLargeError = errors.New("File too large.") |
|
|
|
|
|
|
|
|
var fileTooLargeError = errors.New("File too large") |
|
|
var fileBlacklist = map[string]bool{ |
|
|
var fileBlacklist = map[string]bool{ |
|
|
"favicon.ico": true, |
|
|
"favicon.ico": true, |
|
|
"index.htm": true, |
|
|
"index.htm": true, |
|
|