Skip to content

relaynetwork/ring-middleware-index-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ring Middleware Index File

(wrap-index-file “/some/route”)

Requests to /some/route will redirect to /some/route/. Requests to /some/route/ will return the index.html file.

Options

:path

Specify an alternate path (default is resources/public) for static files..

:index

Specify an alternate index file (default is `index.html`).

License

EPL, Same as Clojure

About

Serve up an index file for a route if it exists.

Resources

Stars

Watchers

Forks

Packages

No packages published