fixing redirect for mounting on a route other than "/".