fix: add excalidraw file to pages

pull/1625/head
Tienson Qin 2021-04-04 07:47:05 +08:00
parent 5be53939fd
commit b718d4f50a
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
(when (and (not (util/starts-with? page "http:")) (when (and (not (util/starts-with? page "http:"))
(not (util/starts-with? page "https:")) (not (util/starts-with? page "https:"))
(not (util/starts-with? page "file:")) (not (util/starts-with? page "file:"))
(not (contains? (config/supported-formats) ext))) (or (= ext :excalidraw) (not (contains? (config/supported-formats) ext))))
page))) page)))
(and (and