fix: 맞는 404 쪽 씀

This commit is contained in:
2026-04-18 16:55:10 -06:00
parent 32dad302f0
commit 5472d93cff

View File

@@ -51,8 +51,10 @@
(defn html-dir []
(-> cfg/*cfg* ::cfg/state-directory (fs/file "html")))
;; This could infinitely look if the 404 page can't be found. lmfao.
(defn not-found [req]
(response/not-found "not found"))
(node-by-slug {:path-params {:slug not-found-slug}})
#_(response/not-found "not found"))
(defn org-file->html-file [org-file]
(fs/file (html-dir)