Skip to content

Commit

Permalink
Securing additional staging assets
Browse files Browse the repository at this point in the history
  • Loading branch information
jairoanaya committed Nov 22, 2024
1 parent a8a9040 commit 8f05772
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,20 +87,21 @@
<script src="https://portal.challenge.gov/js/public.js" integrity="sha384-EadIINJfyK5WjX2xpy9sbX/YPYG7toOOYJVp1gS0Lwmun/DVJ3udFIqyS5rBQJDt" crossorigin="anonymous"></script>
<script src="https://portal.challenge.gov/js/client.js" integrity="sha384-J11hCQC6+esHSrCiCMdMesm2fLHifDXWYhx3Yq++Ox67dkUGWTJeXGWlbdTAgd7a" crossorigin="anonymous"></script>
{% elsif site.branch == "staging" %}
<link rel="stylesheet" href="https://challenge-portal-staging.app.cloud.gov/css/public.css" integrity="sha384-U3FAM/KmpWpDIC9LvHTiN5MfVf9HnN8i0pKD4IvBnzxfTSVlbqCLSUx1MQwjYkov" crossorigin="anonymous"><script src="https://challenge-portal-staging.app.cloud.gov/js/public.js"></script>
<link rel="stylesheet" href="https://challenge-portal-staging.app.cloud.gov/css/public.css" integrity="sha384-U3FAM/KmpWpDIC9LvHTiN5MfVf9HnN8i0pKD4IvBnzxfTSVlbqCLSUx1MQwjYkov" crossorigin="anonymous">
<script src="https://challenge-portal-staging.app.cloud.gov/js/public.js" integrity="sha384-EadIINJfyK5WjX2xpy9sbX/YPYG7toOOYJVp1gS0Lwmun/DVJ3udFIqyS5rBQJDt" crossorigin="anonymous"></script>
<script src="https://challenge-portal-staging.app.cloud.gov/js/client.js" integrity="sha384-2H5+GtVkVnbdZ8eOn+Ae6gpnADKDtm73dRVqjQmgZlYZ4Wx50fZS2lRqeNo8pq4Y" crossorigin="anonymous"></script>
{% elsif site.branch == "dev" %}
<link rel="stylesheet" href="https://challenge-portal-staging.app.cloud.gov/css/public.css" crossorigin="anonymous">
<script src="https://challenge-portal-staging.app.cloud.gov/js/public.js"></script>
<script src="https://challenge-portal-staging.app.cloud.gov/js/client.js"></script>
<script src="https://challenge-portal-staging.app.cloud.gov/js/public.js" integrity="sha384-EadIINJfyK5WjX2xpy9sbX/YPYG7toOOYJVp1gS0Lwmun/DVJ3udFIqyS5rBQJDt" crossorigin="anonymous"></script>
<script src="https://challenge-portal-staging.app.cloud.gov/js/client.js" integrity="sha384-2H5+GtVkVnbdZ8eOn+Ae6gpnADKDtm73dRVqjQmgZlYZ4Wx50fZS2lRqeNo8pq4Y" crossorigin="anonymous"></script>
{% elsif jekyll.environment == "dev" %}
<link rel="stylesheet" href="http://localhost:4000/css/public.css" crossorigin="anonymous">
<script src="http://localhost:4000/js/public.js"></script>
<script src="http://localhost:4000/js/client.js"></script>
{% else %}
<link rel="stylesheet" href="https://challenge-portal-dev.app.cloud.gov/css/public.css" crossorigin="anonymous">
<script src="https://challenge-portal-dev.app.cloud.gov/js/public.js"></script>
<script src="https://challenge-portal-dev.app.cloud.gov/js/client.js"></script>
<script src="https://challenge-portal-dev.app.cloud.gov/js/public.js" integrity="sha384-ftiQihfu16XPU9p/A7Q14SYrPout4fCgSJ5ikgKf2MPk4tbCNvmqBAVyTQG5//Mb" crossorigin="anonymous"></script>
<script src="https://challenge-portal-dev.app.cloud.gov/js/client.js" integrity="sha384-y+/LgZ9pTFrdlYvopf1yFjGmXJm3HhUTeQ+pNWtokc/ILrXgmfKtiw5dGjYA29f0" crossorigin="anonymous"></script>
{% endif %}
<script>
// Explore challenges button scroll to active challenges section of react app
Expand Down Expand Up @@ -139,7 +140,7 @@
ga('send', 'pageview');
</script>
<!-- Google tag (gtag.js) -->
<script src="https://www.googletagmanager.com/gtag/js?id=G-HE61P192WE" integrity="sha384-rEi/WxPM0sOKcMee14hG4GSVzqGJP2P1pGlLL/NLtEt5jIS8SCNob1DGV8hh5L2C" crossorigin="anonymous"></script>
<script src="https://www.googletagmanager.com/gtag/js?id=G-HE61P192WE" integrity="sha384-JspHKCrLWyu2n53qv6lWRym4nAJC3LqVP6lCrTIPUAAPvTmlFZ2CGTTcnRaf/SIe" crossorigin="anonymous"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
Expand Down

0 comments on commit 8f05772

Please sign in to comment.