mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-21 04:32:36 +00:00
feat: remove forceIgnoreHttpsCertificate for security
This commit is contained in:
1 parent
0ffa9ef137
commit
d2772697f3
3 files changed
+1
-31
No files matched your search
@@ -24,7 +24,6 @@ public class Config {
|
||||
//Function
|
||||
public boolean enableDynamicSkull = true;
|
||||
public boolean enableTransparentSkin = true;
|
||||
public boolean forceIgnoreHttpsCertificate = false;
|
||||
public boolean forceLoadAllTextures = true;
|
||||
public boolean enableCape = true;
|
||||
public int threadPoolSize = 8;
|
||||
@@ -76,8 +75,6 @@ public class Config {
|
||||
config.updateLoadlist();
|
||||
config.initLocalFolder();
|
||||
config.threadPoolSize = Math.max(config.threadPoolSize, 1);
|
||||
if (config.forceIgnoreHttpsCertificate)
|
||||
HttpUtil0.ignoreHttpsCertificate();
|
||||
if (config.enableCacheAutoClean && !config.enableLocalProfileCache) {
|
||||
try {
|
||||
FileUtils.deleteDirectory(HttpRequestUtil.CACHE_DIR);
|
||||
|
||||
Reference in new issue
Block a user