Built site for gh-pages
This commit is contained in:
1 parent
df4983ee0d
commit
d8a42a5135
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -239,7 +239,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("https:\/\/gitea\.spacilovi\.eu\/david-spacil\/help");
|
||||
var filterRegex = new RegExp("^(?:http:|https:)\/\/pages\.spacilovi\.eu\/david-spacil\/help");
|
||||
var isInternal = (href) => {
|
||||
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user