fix redirect

Hi!
I use nginx with node proxy server.
in my case, mongo-express run behind web server, not individual domain
ex) hello.world.com/mongoexpress/
in this case mongo-express have route problems. then I made pull request modified code

thank you. have a good time~