🎨 The images in the databases are not uploaded to the community hosting https://github.com/siyuan-note/siyuan/issues/11948

This commit is contained in:
Daniel 2024-07-11 10:25:58 +08:00
parent 47aaee4a3b
commit c9462f691d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 45 additions and 0 deletions

View file

@ -217,6 +217,8 @@ func Export2Liandi(id string) (err error) {
assets := assetsLinkDestsInTree(tree)
embedAssets := assetsLinkDestsInQueryEmbedNodes(tree)
assets = append(assets, embedAssets...)
avAssets := assetsLinkDestsInAttributeViewNodes(tree)
assets = append(assets, avAssets...)
assets = gulu.Str.RemoveDuplicatedElem(assets)
_, err = uploadAssets2Cloud(assets, bizTypeExport2Liandi)
if nil != err {