Built site for gh-pages

This commit is contained in:
David Spáčil
2026-07-10 12:26:49 +02:00
parent 2e2a3379bc
commit df4983ee0d
7 changed files with 40 additions and 6 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ ul.task-list li input[type="checkbox"] {
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp('/' + window.location.host + '/');
var filterRegex = new RegExp("https:\/\/gitea\.spacilovi\.eu\/david-spacil\/help");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}