File tree Expand file tree Collapse file tree
src/main/java/zadudoder/spmhelper/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ yarn_mappings=1.21.1+build.3
88loader_version =0.16.14
99loom_version =1.10-SNAPSHOT
1010# Mod Properties
11- mod_version =v0.2.1
11+ mod_version =v0.2.2
1212maven_group =zadudoder.spmhelper
1313archives_base_name =spmhelper
1414mod_menu_version =11.0.3
Original file line number Diff line number Diff line change 1717
1818
1919public class SPmHelperApi {
20- private static final String API_BASE = "https://api-spmhelpers.sp-mini .ru/api" ;
20+ private static final String API_BASE = "https://api.spmhelpers .ru/api" ;
2121 private static final HttpClient httpClient = HttpClient .newBuilder ()
2222 .version (HttpClient .Version .HTTP_2 )
2323 .connectTimeout (Duration .ofSeconds (10 ))
@@ -30,7 +30,7 @@ public static void startAuthProcess(ClientPlayerEntity player) {
3030 JsonObject json = new JsonObject ();
3131 json .addProperty ("minecraft_uuid" , playerUuid );
3232 try {
33- SocketClient socketClient = new SocketClient (new URI ("wss://api-spmhelpers.sp-mini .ru/api/authorize/ws" ));
33+ SocketClient socketClient = new SocketClient (new URI ("wss://api.spmhelpers .ru/api/authorize/ws" ));
3434 socketClient .setOnOpenCallback (() -> {
3535 socketClient .send (json .toString ());
3636 });
You can’t perform that action at this time.
0 commit comments