Browse Source

revert part of last merge

leizhe 3 years ago
parent
commit
e64b442653
1 changed files with 2 additions and 5 deletions
  1. 2 5
      src/main/frontend/config.cljs

+ 2 - 5
src/main/frontend/config.cljs

@@ -383,11 +383,8 @@
 
       (and (mobile-util/native-ios?) (local-db? repo-url))
       (let [dir (-> (get-repo-dir repo-url)
-                    (string/replace "file:///" "file:/")
-                    (string/replace "%20" " "))]
-        (if (string/starts-with? relative-path dir)
-          relative-path
-          (str dir relative-path)))
+                    (string/replace "file:///" "file:/"))]
+        (str dir relative-path))
       
       (= "/" (first relative-path))
       (subs relative-path 1)