remove duplication
fix serverSide redirectTo with rootPath != default
Merge pull request #268 from c089/fix-serverside-redirectTo-with-rootPath

fix serverSide redirectTo with rootPath != default