Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: `/资源` 支持搜索未索引的文件 https://github.com/siyuan-note/siyuan/issues/5416

Liang Ding527753113b8f
diff --git a/kernel/cache/asset.go b/kernel/cache/asset.go
index 13d5ebc555..ed1c87742b 100644
--- a/kernel/cache/asset.go
+++ b/kernel/cache/asset.go
@@ -45,7 +45,7 @@ func LoadAssets() {
}
return nil
}
- if strings.HasSuffix(info.Name(), ".sya") {
+ if strings.HasSuffix(info.Name(), ".sya") || strings.HasPrefix(info.Name(), ".") {
return nil
}