Built site for gh-pages
This commit is contained in:
+1
-1
@@ -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("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);
|
||||
}
|
||||
|
||||
+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);
|
||||
}
|
||||
|
||||
+1
-1
@@ -369,7 +369,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