mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 When New document save location is configured as /, it will be completed as /Untitled https://github.com/siyuan-note/siyuan/issues/10305
This commit is contained in:
@@ -208,6 +208,9 @@ func InitConf() {
|
||||
if "../" == Conf.FileTree.DocCreateSavePath {
|
||||
Conf.FileTree.DocCreateSavePath = "../Untitled"
|
||||
}
|
||||
if "/" == Conf.FileTree.DocCreateSavePath {
|
||||
Conf.FileTree.DocCreateSavePath = "/Untitled"
|
||||
}
|
||||
util.UseSingleLineSave = Conf.FileTree.UseSingleLineSave
|
||||
|
||||
util.CurrentCloudRegion = Conf.CloudRegion
|
||||
|
||||
Reference in New Issue
Block a user