File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/com/nyx/bot/utils/http Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 35
35
<oshi .version>6.8.0</oshi .version>
36
36
<okhttp .version>4.12.0</okhttp .version>
37
37
<jjwt .version>0.12.6</jjwt .version>
38
- <org .eclipse.jgit.varsion >7.2.1.202505142326-r</org .eclipse.jgit.varsion >
38
+ <org .eclipse.jgit.version >7.2.1.202505142326-r</org .eclipse.jgit.version >
39
39
</properties >
40
40
41
41
<dependencies >
214
214
<dependency >
215
215
<groupId >org.eclipse.jgit</groupId >
216
216
<artifactId >org.eclipse.jgit</artifactId >
217
- <version >${org.eclipse.jgit.varsion } </version >
217
+ <version >${org.eclipse.jgit.version } </version >
218
218
</dependency >
219
219
220
220
<!-- YAML操作-->
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ private static Proxy fromSpringConfig() {
241
241
public static boolean shouldBypassProxy (String host ) {
242
242
if (host == null ) return true ;
243
243
// 添加对本地地址(如 localhost、127.0.0.1)的判断
244
- if (host .equals ("localhost" ) || host .equals ("127.0.0.1" )) {
244
+ if (host .equalsIgnoreCase ("localhost" ) || host .equalsIgnoreCase ("127.0.0.1" )) {
245
245
return true ;
246
246
}
247
247
Set <String > noProxyHosts = getNoProxyHosts ();
You can’t perform that action at this time.
0 commit comments