Skip to content

Commit

Permalink
wip: Allow to provide access to the site using a referrer policy #11
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Jul 3, 2024
1 parent 465aac5 commit 7c849e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/KeycloakLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function passReferrer () {
console.log(subdomains)
let pass = false
_.forEach(subdomains, subdomain => {
if (document.referrer.contains(subdomain)) {
if (document.referrer.includes(subdomain)) {
pass = true
return false
}
Expand Down

0 comments on commit 7c849e1

Please sign in to comment.