mirror of https://github.com/logseq/logseq
fix(ios): failed to write files
parent
1b7857b631
commit
3bcd0bdf3f
|
@ -130,7 +130,7 @@
|
|||
(write-file! [this repo dir path content {:keys [ok-handler error-handler] :as opts}]
|
||||
(let [path (cond
|
||||
(= (util/platform) "ios")
|
||||
path
|
||||
(str dir path)
|
||||
|
||||
(string/starts-with? path (config/get-repo-dir repo))
|
||||
path
|
||||
|
|
Loading…
Reference in New Issue