How do you get the current URL domain for react for server side rendering? Since the window object isn\'t accessible during SSR. React router location only gives the pathnam