mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 17:06:23 +00:00
fix: can't save config.edn on web
This commit is contained in:
@@ -81,13 +81,6 @@
|
||||
[path format] (:rum/args state)
|
||||
repo-dir (config/get-repo-dir (state/get-current-repo))
|
||||
[dir path] (cond
|
||||
(string/starts-with? path (str (global-config-handler/safe-global-config-dir)))
|
||||
[nil path]
|
||||
|
||||
;; in-repo file, absolute path
|
||||
(string/starts-with? path repo-dir)
|
||||
[nil path]
|
||||
|
||||
;; assume local file, relative path
|
||||
(not (string/starts-with? path "/"))
|
||||
[repo-dir path]
|
||||
|
||||
Reference in New Issue
Block a user