From 1a6fcb5dafb2f4e0b8be4c21e54c675141ca0ff2 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Wed, 18 Jun 2025 12:16:02 +0200 Subject: [PATCH] :bug: Fix problem fetching images --- frontend/src/app/util/webapi.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/util/webapi.cljs b/frontend/src/app/util/webapi.cljs index 88e850b6ad..1b6b423c15 100644 --- a/frontend/src/app/util/webapi.cljs +++ b/frontend/src/app/util/webapi.cljs @@ -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]