In pushstate check hostname before updating the route.