Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
Fix function reference (#19280)
Browse files Browse the repository at this point in the history
- Pull string from object for proper reference
  • Loading branch information
zoracon authored May 15, 2020
1 parent 39e031e commit a73d2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chromium/background-scripts/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ function onBeforeRequest(details) {
(uri.protocol === 'http:' || uri.protocol === 'ftp:') &&
uri.hostname.slice(-6) !== '.onion' &&
uri.hostname !== 'localhost' &&
!uri.endsWith('.localhost') &&
!uri.hostname.endsWith('.localhost') &&
uri.hostname !== '[::1]' &&
!isLocalIp;

Expand Down

0 comments on commit a73d2fe

Please sign in to comment.