Skip to content

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

:art: `上传资源文件到图床` 每次都全量上传刷新 CDN https://github.com/siyuan-note/siyuan/issues/6985

Liang Ding542c43d4b5b0
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index ad8c22090a..00c9a09dcb 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -675,6 +675,7 @@ func clearWorkspaceTemp() {
os.RemoveAll(filepath.Join(util.TempDir, "import"))
os.RemoveAll(filepath.Join(util.TempDir, "repo"))
os.RemoveAll(filepath.Join(util.TempDir, "os"))
+ os.RemoveAll(filepath.Join(util.DataDir, "assets", ".siyuan", "assets.json"))
// 退出时自动删除超过 7 天的安装包 https://github.com/siyuan-note/siyuan/issues/6128
install := filepath.Join(util.TempDir, "install")