浏览代码

:art: Show "What's News" after upgrading https://github.com/siyuan-note/siyuan/issues/7902

Liang Ding 2 年之前
父节点
当前提交
f4636b357e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/api/system.go

+ 1 - 1
kernel/api/system.go

@@ -50,7 +50,7 @@ func getChangelog(c *gin.Context) {
 		return
 	}
 
-	changelogPath := filepath.Join(changelogsDir, "v"+util.Ver+model.Conf.Lang+".md")
+	changelogPath := filepath.Join(changelogsDir, "v"+util.Ver+"_"+model.Conf.Lang+".md")
 
 	if !gulu.File.IsExist(changelogPath) {
 		changelogPath = filepath.Join(changelogsDir, "v"+util.Ver+".md")