🐛 Share to community asset URL is incorrect on LiuYun Fix https://github.com/siyuan-note/siyuan/issues/8758

This commit is contained in:
Daniel 2023-07-14 22:41:35 +08:00
parent 738c791738
commit d9c253d9e7
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 10 additions and 1 deletions

View file

@ -112,7 +112,7 @@ func Export2Liandi(id string) (err error) {
title := path.Base(tree.HPath)
tags := tree.Root.IALAttr("tags")
content := exportMarkdownContent0(tree, "https://b3logfile.com/file/"+time.Now().Format("2006/01")+"/siyuan/"+Conf.User.UserId+"/", true,
content := exportMarkdownContent0(tree, util.GetCloudForumAssetsServer()+time.Now().Format("2006/01")+"/siyuan/"+Conf.User.UserId+"/", true,
4, 1, 0,
"#", "#",
"", "",