Feat: add an option for disabling large downloads
This commit is contained in:
@@ -217,6 +217,7 @@ public class Server extends Thread {
|
||||
.add("extras", user_config.getExtras())
|
||||
.add("headless", java.awt.GraphicsEnvironment.isHeadless() ? "1" : (user_config.isHeadless() ? "1" : "0"))
|
||||
.add("hwid", new HWIdentifier(log).getHardwareHash())
|
||||
.add("disable_large_downloads", user_config.isDisableLargeDownloads() ? "1" : "0")
|
||||
.build();
|
||||
|
||||
this.log.debug("Server::getConfiguration url " + remoteURL.build().toString());
|
||||
|
||||
Reference in New Issue
Block a user