This commit is contained in:
Liang Ding 2023-04-06 21:59:03 +08:00
parent 4cc544f7b5
commit f4636b357e
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -50,7 +50,7 @@ func getChangelog(c *gin.Context) {
return 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) { if !gulu.File.IsExist(changelogPath) {
changelogPath = filepath.Join(changelogsDir, "v"+util.Ver+".md") changelogPath = filepath.Join(changelogsDir, "v"+util.Ver+".md")