Skip to content

Commit

Permalink
feat: update allowed hosts for footer links
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickholzenkamp authored Feb 28, 2022
1 parent 866b718 commit 05fea7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class Footer implements BalConfigObserver {

updateFooterLinks() {
if (!this.hideLinks) {
const allowedHosts = ['baloise.ch'] // Allowed origins to fetch footer links
const allowedHosts = ['baloise.ch', 'baloise.dev'] // Allowed origins to fetch footer links
if (allowedHosts.some(allowedHost => location.hostname.endsWith(allowedHost))) {
loadFooterLinks(new Language(this.language)).then(links => (this.links = links))
} else {
Expand Down

0 comments on commit 05fea7a

Please sign in to comment.