forked from DebaucheryLibrarian/traxxx
Added SicFlics.
This commit is contained in:
@@ -123,7 +123,7 @@ function urlToHostname(url) {
|
||||
try {
|
||||
const hostname = new URL(url)
|
||||
.hostname
|
||||
.match(/(www\.)?(.*)/)?.at(-1);
|
||||
.match(/(www\.|m\.)?(.*)/)?.at(-1);
|
||||
|
||||
return hostname;
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user