Skip to content

Commit

Permalink
Share CSP Fix 3
Browse files Browse the repository at this point in the history
  • Loading branch information
TyHil committed Jan 4, 2024
1 parent 70e020a commit 64933bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
{
"key": "Content-Security-Policy",
"value": "script-src 'self' https://tag.manager.google.com/ https://www.googletagmanager.com/ https://www.gstatic.com https://apis.google.com https://*.firebaseio.com https://cdn.firebase.com https://www.google.com/recaptcha/ https://gist.github.com https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/; object-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'self' https://personal-website.tylerghill.repl.co;"
"value": "script-src 'self' https://tag.manager.google.com/ https://www.googletagmanager.com/ https://www.gstatic.com https://apis.google.com https://*.firebaseio.com https://cdn.firebase.com https://www.google.com/recaptcha/ https://gist.github.com https://cdn.jsdelivr.net/gh/davidshimjs/qrcodejs@gh-pages/qrcode.min.js; object-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'self' https://personal-website.tylerghill.repl.co;"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion share/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</button>
</div>

<script src="https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/davidshimjs/qrcodejs@gh-pages/qrcode.min.js"></script>
<script src="/share/script.js"></script>
</body>
</html>

0 comments on commit 64933bf

Please sign in to comment.