Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2023-05-24 11:06:12 +08:00
commit 9f64cbf5a8

View file

@ -51,7 +51,7 @@ func getChangelog(c *gin.Context) {
changelogPath := filepath.Join(changelogsDir, "v"+util.Ver, "v"+util.Ver+"_"+model.Conf.Lang+".md")
if !gulu.File.IsExist(changelogPath) {
changelogPath = filepath.Join(changelogsDir, "v"+util.Ver+".md")
changelogPath = filepath.Join(changelogsDir, "v"+util.Ver, "v"+util.Ver+".md")
if !gulu.File.IsExist(changelogPath) {
logging.LogErrorf("changelog not found: %s", changelogPath)
return