title: Baseurl for a component in all environment
body: <p>I have to call a login link in window.open(), where I`ll be giving my return URL as query string parameter which it returns back to that URL. Return URL I have created a separate component for it, a temporary one which show "Please wait". The URL for the component is </p>
  
  <pre><code>url = location.origin+ "/milesConfirm"
  </code></pre>
  
  <p>The problem is when I do deployment(normal and prod), it is not coming back to that component. Is there any way to do this with common base url for all environment. Please help..</p>