Browse Source

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

Liang Ding 2 năm trước cách đây
mục cha
commit
f4636b357e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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")