🎨 Display a confirmation prompt when inserting large assets 256MB https://github.com/siyuan-note/siyuan/issues/16685

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-01-10 12:04:15 +08:00
parent b973fed06b
commit 6188b4fb32
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -34,7 +34,7 @@ func readFilePaths(c *gin.Context) {
paths, _ = clipboard.ReadFilePaths()
}
var data []map[string]any
data := []map[string]any{}
for _, path := range paths {
fi, err := os.Stat(path)
if nil != err {