mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 18:39:58 +00:00
Fix match patterns matching on URLs with port numbers
This commit is contained in:
@@ -93,7 +93,7 @@ export class RemoteMatchPattern {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If pattern host is not a wildcard
|
// If pattern host is not a wildcard
|
||||||
if (!this.matchesDomain(url.host)) {
|
if (!this.matchesDomain(url.hostname)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user