Add public directory

This commit is contained in:
Akira Tempaku 2024-02-24 11:44:10 +09:00
commit fd294a00af
4 changed files with 16 additions and 5 deletions

View file

@ -18,9 +18,13 @@
(update-routes)
(defparameter *app*
(lack:builder (:static
:path "/dist/assets/"
:root (asdf:system-relative-pathname :hp "assets/"))
(lack:builder :accesslog
(:static
:path "/assets/"
:root (asdf:system-relative-pathname :hp "dist/assets/"))
(:static
:path "/public/"
:root (asdf:system-relative-pathname :hp "public/"))
*raw-app*))
; for clackup cmd