This commit is contained in:
2023-03-09 09:13:07 +08:00
parent 2abd3eccb2
commit 7f54a3c394
7 changed files with 18 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ func Article(c *gin.Context) {
id = strings.Replace(id, "-", "/", -1)
articleBasePath := "./article"
articleBasePath := os.Getenv("ARTICLE_PATH")
articlePath := articleBasePath + "/" + id + ".md"