mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] Исправлен URL netty.address
This commit is contained in:
parent
fc21e854d3
commit
b9aeacc38b
1 changed files with 2 additions and 2 deletions
|
@ -544,7 +544,7 @@ private void generateConfigIfNotExists() throws IOException {
|
||||||
// Create new config
|
// Create new config
|
||||||
LogHelper.info("Creating LaunchServer config");
|
LogHelper.info("Creating LaunchServer config");
|
||||||
Config newConfig = new 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 = new ExeConf();
|
||||||
newConfig.launch4j.copyright = "© GravitLauncher Team";
|
newConfig.launch4j.copyright = "© GravitLauncher Team";
|
||||||
newConfig.launch4j.fileDesc = "GravitLauncher ".concat(Launcher.getVersion().getVersionString());
|
newConfig.launch4j.fileDesc = "GravitLauncher ".concat(Launcher.getVersion().getVersionString());
|
||||||
|
@ -570,7 +570,7 @@ private void generateConfigIfNotExists() throws IOException {
|
||||||
newConfig.whitelistRejectString = "Вас нет в белом списке";
|
newConfig.whitelistRejectString = "Вас нет в белом списке";
|
||||||
|
|
||||||
newConfig.netty = new NettyConfig();
|
newConfig.netty = new NettyConfig();
|
||||||
newConfig.netty.address = "ws://localhost:9274";
|
newConfig.netty.address = "ws://localhost:9274/api";
|
||||||
newConfig.netty.clientEnabled = false;
|
newConfig.netty.clientEnabled = false;
|
||||||
newConfig.netty.port = 9274;
|
newConfig.netty.port = 9274;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue