🎨 改进云端同步目录名称校验 Fix https://github.com/siyuan-note/siyuan/issues/5090

This commit is contained in:
Liang Ding 2022-06-03 17:56:18 +08:00
parent f821e0284b
commit 2290926f16
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D

View File

@ -1213,10 +1213,6 @@ func formatErrorMsg(err error) string {
} }
func IsValidCloudDirName(cloudDirName string) bool { func IsValidCloudDirName(cloudDirName string) bool {
if "backup" == cloudDirName {
return false
}
if 16 < utf8.RuneCountInString(cloudDirName) { if 16 < utf8.RuneCountInString(cloudDirName) {
return false return false
} }