Refactor
This commit is contained in:
parent
323c8d5081
commit
0d538e8e2d
1 changed files with 3 additions and 4 deletions
|
@ -24,10 +24,9 @@
|
||||||
(update-routes)
|
(update-routes)
|
||||||
|
|
||||||
(defun exist-public-file-p (path)
|
(defun exist-public-file-p (path)
|
||||||
(and (not (string= path "/"))
|
(let ((pathname (probe-file (concatenate 'string "public" path))))
|
||||||
(let ((pathname (probe-file (concatenate 'string "public" path))))
|
(and pathname
|
||||||
(and pathname
|
(pathname-name pathname))))
|
||||||
(pathname-name pathname)))))
|
|
||||||
|
|
||||||
(defparameter *app*
|
(defparameter *app*
|
||||||
(lack:builder :accesslog
|
(lack:builder :accesslog
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue