Skip to content

Commit

Permalink
Update setup instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Grove authored and Sean Grove committed Aug 2, 2021
1 parent 151409e commit cb425d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
12 changes: 9 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ <h2>Setup:</h2>
<a href="https://authlify-dev.netlify.app/" target="_blank">Authlify</a> for
<code class="hostname">localhost</code>
</li>
<li><a id="deployLink" href="https://app.netlify.com/" target="_blank">Trigger a new deploy</a> (with the cache cleared) so the new env var takes effect</li>
<li>
This will trigger a new deploy (<a
id="deployLink"
href="https://app.netlify.com/"
target="_blank"
>you can check here</a
>) so the new env var takes effect
</li>
</ol>

<h2>Usage</h2>
Expand Down Expand Up @@ -50,8 +57,7 @@ <h2>Usage</h2>
hostnameElements[i].innerHTML = getHostname();
}

const deployUrl = `https://app.netlify.com/sites/${getHostname()}/deploys?filter=main`
const deployUrl = `https://app.netlify.com/sites/${getHostname()}/deploys?filter=main`;

document.getElementById("deployLink").href = deployUrl;

</script>
1 change: 0 additions & 1 deletion public/index.html

This file was deleted.

0 comments on commit cb425d2

Please sign in to comment.