Improve config package
This commit is contained in:
parent
280e2e018e
commit
80139e4111
12 changed files with 56 additions and 35 deletions
src
|
@ -3,7 +3,7 @@
|
|||
(:use #:cl)
|
||||
(:local-nicknames (#:jg #:jingle))
|
||||
(:local-nicknames (#:fbr #:ningle-fbr))
|
||||
(:local-nicknames (#:cfg #:hp/config))
|
||||
(:local-nicknames (#:cfg #:hp/config/*))
|
||||
(:local-nicknames (#:mw #:hp/middlewares/*))
|
||||
(:export #:start
|
||||
#:stop
|
||||
|
@ -25,8 +25,8 @@
|
|||
(fbr:assign-routes *app*
|
||||
:system "hp"
|
||||
:directory "src/routes")
|
||||
(jg:static-path *app* "/scripts/" "src/scripts/")
|
||||
(jg:static-path *app* "/styles/" "src/styles/")
|
||||
(jg:static-path *app* (cfg:asset-root :script) "src/scripts/")
|
||||
(jg:static-path *app* (cfg:asset-root :style) "src/styles/")
|
||||
(jg:install-middleware *app* mw:*public-files*)
|
||||
(jg:install-middleware *app* mw:*recovery*)
|
||||
(jg:install-middleware *app* mw:*normalize-path*)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue