Currently if there is a query add the the base route (ie. '/?isBase=true')
If onlyHash is set to true then currently the path gets altered to be "/?isBase=true#/" instead of "/#/?isBase=true"
The search param is not on addressbar but probably should be added to it keep it in line with the rest of the file. Hence the use of "new URL(location.href).search"
Currently if there is a query add the the base route (ie. '/?isBase=true')
If onlyHash is set to true then currently the path gets altered to be "/?isBase=true#/" instead of "/#/?isBase=true"
The search param is not on addressbar but probably should be added to it keep it in line with the rest of the file. Hence the use of "new URL(location.href).search"