mirror of
https://github.com/penpot/penpot.git
synced 2026-08-24 05:38:38 +00:00
🐛 Fix problem fetching images
This commit is contained in:
parent
34febfc833
commit
1a6fcb5daf
@ -26,7 +26,9 @@
|
|||||||
|
|
||||||
(defn- fix-webkit-data-uri
|
(defn- fix-webkit-data-uri
|
||||||
[duri]
|
[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
|
(defn- file-reader
|
||||||
[f]
|
[f]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user