diff --git a/src/app.lisp b/src/app.lisp index fd389ea..28b33f4 100644 --- a/src/app.lisp +++ b/src/app.lisp @@ -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