From 5c39af27238d055ee512d460c42e3ef48771db37 Mon Sep 17 00:00:00 2001 From: charlie Date: Sat, 5 Nov 2022 16:44:59 +0800 Subject: [PATCH] fix(mobile): safety path join for ios graph files fs operation --- src/main/frontend/config.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/frontend/config.cljs b/src/main/frontend/config.cljs index 25a96a4fa7..79b1088295 100644 --- a/src/main/frontend/config.cljs +++ b/src/main/frontend/config.cljs @@ -388,7 +388,7 @@ (and (mobile-util/native-ios?) (local-db? repo-url)) (let [dir (get-repo-dir repo-url)] - (str dir relative-path)) + (util/safe-path-join dir relative-path)) (and (mobile-util/native-android?) (local-db? repo-url)) (let [dir (get-repo-dir repo-url)