Add public directory
This commit is contained in:
parent
824c0e6295
commit
fd294a00af
4 changed files with 16 additions and 5 deletions
src
10
src/app.lisp
10
src/app.lisp
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue