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