svenstaro/miniserve

Can we specify the route digit?

Closed this issue · 5 comments

Currently we can use --random-route to set the generated random 6-hexdigit route. Is there a method to manually specify the route digit?

Actually there is a PR for this feature #208

Thanks for your reply. However, it seems this PR has been abandoned for quite a long time. Although I know nothing about rust, this feature, I guess, is quite easy to be implemented? Are the developers considering implementing this feature?

Hmmm that issue bothers me as well, since behind a reverse-proxy miniserve makes lots of problems because the first subdir changes everytime, so the wrong url is called (the wrong subdir)

I reimplemented @mkroman pr on top of the main branch #579

This is now fixed by #728! :D