Fork me on GitHub
#ring
<
2018-12-14
>
devth18:12:29

i have a local ring dev server that's serving up html. i want to support clean urls like: /foo instead of /foo.html. what part of ring do i need to hack on to do this? thanks

seancorfield18:12:49

Middleware. You could add middleware that looked at the incoming :uri and if it didn't end in .html, just add the extension.

devth20:12:07

thanks, will try that