simplify tags

This commit is contained in:
ston1th 2019-08-25 12:34:10 +02:00
commit 3c5be25cb3
6 changed files with 28 additions and 31 deletions

View file

@ -15,7 +15,9 @@ const (
)
func isPDF(path string) bool {
return checkContentType(path) || checkExtension(path)
// TODO
// return checkContentType(path) || checkExtension(path)
return checkContentType(path)
}
func checkContentType(path string) bool {