[update] use :local-nicknames to import package
This commit is contained in:
parent
48c1dbd097
commit
d62ff175dd
5 changed files with 36 additions and 46 deletions
src
|
@ -3,8 +3,7 @@
|
|||
(:use #:cl)
|
||||
(:import-from #:clack)
|
||||
(:import-from #:lack)
|
||||
(:import-from #:hp/pages/**/*
|
||||
#:*index-app*)
|
||||
(:local-nicknames (#:pages #:hp/pages/**/*))
|
||||
(:export #:start-app
|
||||
#:stop-app))
|
||||
(in-package :hp)
|
||||
|
@ -13,7 +12,7 @@
|
|||
|
||||
(defun start-app ()
|
||||
(unless *handler*
|
||||
(setf *handler* (clack:clackup (lack:builder *index-app*)
|
||||
(setf *handler* (clack:clackup (lack:builder pages:*index-app*)
|
||||
:address "localhost"
|
||||
:port 3000))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue