Back

file-request (clj)

(source)

function

(file-request request root-path) (file-request request root-path options)
If request matches a static file, returns it in a response. Otherwise returns nil. See: wrap-file.

Examples