Site > File > Handle unreadable file and image preview

This commit is contained in:
brunosimon
2017-09-01 17:27:29 +01:00
parent 8ddb09977a
commit aba8632ba6
4 changed files with 24 additions and 7 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ class Watcher
const mimeType = mime.lookup(relativePath)
const file = {}
file.path = relativePath
file.path = relativePath
file.canRead = true
// Test mime type