tj/serve

Support custom root route

bebraw opened this issue · 1 comments

Hi,

It would be convenient if it was possible to set up a server so that rather than pointing at / by default, it could point to something else (like /foo). We could call this option -R (--root).

Having this option would make it very easy for me to test certain paths generated by a static generator of mine. I'm not sure if there's an utility beyond that, though.

This issue should be closed!