mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +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 (!this.matchesDomain(url.host)) {
|
||||
if (!this.matchesDomain(url.hostname)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user