Skip to content

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

:bug: Correct AAC audio preview in data snapshots https://github.com/siyuan-note/siyuan/issues/19400

Danielf7d758cf4f49
diff --git a/kernel/util/path.go b/kernel/util/path.go
index 06b1a54018..dcca867701 100644
--- a/kernel/util/path.go
+++ b/kernel/util/path.go
@@ -338,7 +338,7 @@ func IsAssetLinkDest(dest []byte, includeServePath bool) bool {
var (
SiYuanAssetsImage = []string{".apng", ".ico", ".cur", ".jpg", ".jpe", ".jpeg", ".jfif", ".pjp", ".pjpeg", ".png", ".gif", ".webp", ".bmp", ".svg", ".avif", ".heic", ".heif"}
- SiYuanAssetsAudio = []string{".mp3", ".wav", ".ogg", ".m4a", ".flac"}
+ SiYuanAssetsAudio = []string{".mp3", ".wav", ".ogg", ".m4a", ".aac", ".flac"}
SiYuanAssetsVideo = []string{".mov", ".weba", ".mkv", ".mp4", ".webm"}
)