Skip to content

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

:art: Support export and import settings https://github.com/siyuan-note/siyuan/issues/10617

Daniel0c450d9fcd76
diff --git a/kernel/api/system.go b/kernel/api/system.go
index 8eb975c489..f9a04ffc01 100644
--- a/kernel/api/system.go
+++ b/kernel/api/system.go
@@ -230,6 +230,11 @@ func exportConf(c *gin.Context) {
return
}
+ if nil != clonedConf.Appearance {
+ clonedConf.Appearance.DarkThemes = nil
+ clonedConf.Appearance.LightThemes = nil
+ clonedConf.Appearance.Icons = nil
+ }
if nil != clonedConf.Editor {
clonedConf.Editor.Emoji = []string{}
}