[FIX] Исправлен URL netty.address

This commit is contained in:
Gravit 2019-02-20 18:55:16 +07:00
parent fc21e854d3
commit b9aeacc38b
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -544,7 +544,7 @@ private void generateConfigIfNotExists() throws IOException {
// Create new config
LogHelper.info("Creating LaunchServer config");
Config newConfig = new Config();
newConfig.mirrors = new String[]{"http://mirror.gravitlauncher.ml/"};
newConfig.mirrors = new String[]{"http://mirror.gravitlauncher.ml/","https://mirror.gravit.pro/"};
newConfig.launch4j = new ExeConf();
newConfig.launch4j.copyright = "© GravitLauncher Team";
newConfig.launch4j.fileDesc = "GravitLauncher ".concat(Launcher.getVersion().getVersionString());
@ -570,7 +570,7 @@ private void generateConfigIfNotExists() throws IOException {
newConfig.whitelistRejectString = "Вас нет в белом списке";
newConfig.netty = new NettyConfig();
newConfig.netty.address = "ws://localhost:9274";
newConfig.netty.address = "ws://localhost:9274/api";
newConfig.netty.clientEnabled = false;
newConfig.netty.port = 9274;