mirror of
https://github.com/appdev/siyuan-unlock.git
synced 2026-03-11 11:18:27 +08:00
🎨 改进云端同步目录名称校验 Fix https://github.com/siyuan-note/siyuan/issues/5090
This commit is contained in:
parent
f821e0284b
commit
2290926f16
@ -1213,10 +1213,6 @@ func formatErrorMsg(err error) string {
|
||||
}
|
||||
|
||||
func IsValidCloudDirName(cloudDirName string) bool {
|
||||
if "backup" == cloudDirName {
|
||||
return false
|
||||
}
|
||||
|
||||
if 16 < utf8.RuneCountInString(cloudDirName) {
|
||||
return false
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user