Merge pull request #6715 from penpot/alotor-bug-fix-workaround

🐛 Fix problem fetching images
This commit is contained in:
Andrey Antukh
2025-06-18 14:09:29 +02:00
committed by GitHub

View File

@@ -26,7 +26,9 @@
(defn- fix-webkit-data-uri
[duri]
(str/replace duri webkit-datauri-fix-re "$1$3"))
(cond-> duri
(string? duri)
(str/replace webkit-datauri-fix-re "$1$3")))
(defn- file-reader
[f]