aboutsummaryrefslogtreecommitdiff
path: root/src/shared/blacklists.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/blacklists.ts')
-rw-r--r--src/shared/blacklists.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/blacklists.ts b/src/shared/blacklists.ts
index 61720c3..61ee4de 100644
--- a/src/shared/blacklists.ts
+++ b/src/shared/blacklists.ts
@@ -1,6 +1,6 @@
-import * as re from 'shared/utils/re';
+import * as re from './utils/re';
-const includes = (blacklist, url) => {
+const includes = (blacklist: string[], url: string): boolean => {
let u = new URL(url);
return blacklist.some((item) => {
if (!item.includes('/')) {