intro publish

This commit is contained in:
Andreas Gammelgaard Damsbo 2023-06-26 08:42:12 +02:00
commit 146dcf056e
36 changed files with 5878 additions and 17 deletions

View file

@ -503,7 +503,7 @@ window.document.addEventListener("DOMContentLoaded", function (event) {
}
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var filterRegex = new RegExp('/' + window.location.host + '/');
var filterRegex = new RegExp("https:\/\/familien\.gdamsbo\.dk");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href);
}