ring

devth 2018-12-14T18:17:29.008100Z

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

seancorfield 2018-12-14T18:46:49.008900Z

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

devth 2018-12-14T20:05:07.009Z

thanks, will try that