fixup! Fix: match subdomain
This commit is contained in:
parent
99626e4a48
commit
4d42765d6c
|
@ -386,7 +386,6 @@ const styleManager = (() => {
|
|||
}
|
||||
|
||||
function urlMatchSection(url, section) {
|
||||
// FIXME: match sub domains?
|
||||
const domain = getDomain(url);
|
||||
if (section.domains && section.domains.some(d => d === domain || domain.endsWith(`.${d}`))) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user