simplify tags
This commit is contained in:
parent
7686dfa474
commit
3c5be25cb3
6 changed files with 28 additions and 31 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue