fix: add excalidraw file to pages

This commit is contained in:
Tienson Qin
2021-04-04 07:47:05 +08:00
parent 5be53939fd
commit b718d4f50a

View File

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