If needed change document-root for acceptor
This commit is contained in:
parent
ec33e2f677
commit
afb2b84512
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@
|
|||
:port port)))
|
||||
acceptor))
|
||||
|
||||
(defun start-server (acceptor)
|
||||
(defun start-server (acceptor &key document-root)
|
||||
(if document-root
|
||||
(setf (hunchentoot:acceptor-document-root acceptor) document-root))
|
||||
(hunchentoot:start acceptor))
|
||||
|
||||
(defun stop-server (acceptor)
|
||||
|
|
Loading…
Add table
Reference in a new issue