This commit is contained in:
Akira Tempaku 2024-02-29 14:49:32 +09:00
parent 323c8d5081
commit 0d538e8e2d

View file

@ -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