mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 01:16:27 +00:00
fix(fs): windows unc path support
This commit is contained in:
@@ -76,8 +76,9 @@
|
||||
|
||||
(str "assets://" (string/replace rpath' (str "@" (:name alias)) (:dir alias)))
|
||||
|
||||
(if has-schema? (path/path-join graph-root rpath)
|
||||
(path/path-join "file://" graph-root rpath))))]
|
||||
(if has-schema?
|
||||
(path/path-join graph-root rpath)
|
||||
(path/prepend-protocol "file:" (path/path-join graph-root rpath)))))]
|
||||
(convert-platform-protocol ret)))))
|
||||
|
||||
(defn normalize-asset-resource-url
|
||||
|
||||
Reference in New Issue
Block a user