| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1337612 commit 1ea7040
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -150,7 +150,7 @@ class ProxyConfig { | |||
| 150 | 150 | if (entry === host || entry === hostWithPort) return false; // Matching host and host:port | |
| 151 | 151 | ||
| 152 | 152 | // Follow curl's behavior: strip leading dot before matching suffixes. | |
| 153 | - if (entry.startsWith('.')) { | ||
| 153 | + if (entry[0] === '.') { | ||
| 154 | 154 | const suffix = entry.substring(1); | |
| 155 | 155 | if (host.endsWith(suffix)) return false; | |
| 156 | 156 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments