Update fileops
This commit is contained in:
parent
2bca763654
commit
2351a057b4
2 changed files with 8 additions and 2 deletions
|
@ -27,9 +27,9 @@
|
|||
(defvar *app* (create-server 'app
|
||||
8080
|
||||
:document-root
|
||||
"public/"
|
||||
(public-dir)
|
||||
:access-log-destination
|
||||
(uiop:merge-pathnames* #P"access.log" (app-dir))))
|
||||
(access-log-file)))
|
||||
|
||||
(defun start ()
|
||||
(start-server *app*))
|
||||
|
|
|
@ -66,3 +66,9 @@ within the data directory."
|
|||
:direction :output
|
||||
:if-exists :supersede)
|
||||
(prin1 responses stream)))
|
||||
|
||||
(defun access-log-file ()
|
||||
(uiop:merge-pathnames* #P"access.log" (app-dir)))
|
||||
|
||||
(defun public-dir ()
|
||||
(uiop:merge-pathnames* #P"public/" (app-dir)))
|
||||
|
|
Loading…
Add table
Reference in a new issue