Clack.App.Directory - Server static files from document root with directory index.
SYNOPSIS
;; mount /var/www/ to http://localhost:5000/
(clackup
(make-instance '<clack-app-directory>
:root #p"/var/www/")
:port 5000)
AUTHOR
- Eitarow Fukamachi (e.arrows@gmail.com)
SEE ALSO
EXTERNAL SYMBOLS
-
Class: <clack-app-directory> inherits (<clack-app-file>)
-
Method: should-handle
[(this <clack-app-directory>) file]
-
Method: serve-path
[(this <clack-app-directory>) env file encoding]