This commit is contained in:
Akira Tempaku 2025-03-29 03:46:58 +09:00
commit fff8929b0e
Signed by: paku
GPG key ID: 5B4E8402BCC50607
4 changed files with 9 additions and 49 deletions

View file

@ -3,15 +3,14 @@
(:import-from #:jingle
#:make-app
#:install-middleware
#:static-path
#:configure)
(:import-from #:ningle-fbr
#:set-routes)
(:import-from #:hp/middlewares/recoverer
#:*recoverer*)
(:import-from #:hp/middlewares/trailing-slash
(:import-from #:lack-mw
#:*trim-trailing-slash*)
(:import-from #:hp/middlewares/public-server
#:*public-server*)
(:import-from #:hp/renderer)
(:export #:*app*))
(in-package #:hp/app)
@ -21,7 +20,8 @@
(set-routes app :system :hp :target-dir-path "routes")
(install-middleware app *recoverer*)
(install-middleware app *trim-trailing-slash*)
(install-middleware app *public-server*)
(static-path app "/img/" "public/img/")
(static-path app "/style/" "public/style/")
(configure app)))
*app*