set static root with a clean dir path

This commit is contained in:
David Botton 2022-07-03 20:20:59 -04:00
parent 3edad73533
commit ae93722c32
3 changed files with 59 additions and 32 deletions

View file

@ -98,9 +98,9 @@ optimization, see tutorial 12 for an example."
(set-on-new-window on-new-window-handler :path "/" :boot-file boot-file))
(unless *clog-running*
(setf *clog-running* t)
(setf *static-root* (if *overide-static-root*
*overide-static-root*
static-root))
(setf *static-root* (truename (if *overide-static-root*
*overide-static-root*
static-root)))
(clog-connection:initialize #'on-connect
:host host
:port port