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
|
(defvar *app* (create-server 'app
|
||||||
8080
|
8080
|
||||||
:document-root
|
:document-root
|
||||||
"public/"
|
(public-dir)
|
||||||
:access-log-destination
|
:access-log-destination
|
||||||
(uiop:merge-pathnames* #P"access.log" (app-dir))))
|
(access-log-file)))
|
||||||
|
|
||||||
(defun start ()
|
(defun start ()
|
||||||
(start-server *app*))
|
(start-server *app*))
|
||||||
|
|
|
@ -66,3 +66,9 @@ within the data directory."
|
||||||
:direction :output
|
:direction :output
|
||||||
:if-exists :supersede)
|
:if-exists :supersede)
|
||||||
(prin1 responses stream)))
|
(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