intro publish
This commit is contained in:
parent
8287a15d2c
commit
146dcf056e
36 changed files with 5878 additions and 17 deletions
|
|
@ -489,7 +489,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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue