浏览代码

revert part of last merge

leizhe 3 年之前
父节点
当前提交
e64b442653
共有 1 个文件被更改,包括 2 次插入5 次删除
  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)