diff --git a/cmd/calls/articles.go b/cmd/calls/articles.go index 071f010..e75a56a 100644 --- a/cmd/calls/articles.go +++ b/cmd/calls/articles.go @@ -57,7 +57,7 @@ func ServeArticle(c *b.Config, db *b.DB) http.HandlerFunc { return } - articleAbsName := fmt.Sprint(c.ArticleDir, "/", article.ID, ".md") + articleAbsName := fmt.Sprint(c.ArticleDir, "/", article.UUID, ".md") contentBytes, err := os.ReadFile(articleAbsName) if err != nil { log.Println(err)