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)
|
||||
|
||||
(defun exist-public-file-p (path)
|
||||
(and (not (string= path "/"))
|
||||
(let ((pathname (probe-file (concatenate 'string "public" path))))
|
||||
(and pathname
|
||||
(pathname-name pathname)))))
|
||||
(let ((pathname (probe-file (concatenate 'string "public" path))))
|
||||
(and pathname
|
||||
(pathname-name pathname))))
|
||||
|
||||
(defparameter *app*
|
||||
(lack:builder :accesslog
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue