title: Relative redirect using meta http-equiv="refresh" with gh-pages
body: <p>So i am trying to use the redirect meta tag on a web app hosted on Githubs gh-pages.</p>
  
  <p>This is the tag I'm using; which works well on the local dev machine</p>
  
  <pre><code>&lt;meta http-equiv="refresh" content="0; url=/angular/?layout=4#/app/home" /&gt; &lt;!--redirect--&gt;
  </code></pre>
  
  <p>The problem is that gh-pages sites live on a URL like this </p>
  
  <pre><code>https://github.com/username/reponame
  </code></pre>
  
  <p>Which means that my redirect doesnt work because it drops the <code>reponame</code> for this:</p>
  
  <pre><code>https://github.com/username/angular/?layout=4#/app/home
  </code></pre>
  
  <p>obviously I could hardcode the repo name in the redirect tag but then this would mean that it wont work when im developing locally because the URL in the local dev doesnt include the repo name.</p>
  
  <p>How should my meta tag be set up for this to work locally and on  gh-pages</p>