From d36b22ef82069fc407013f95d571e1692f8796f5 Mon Sep 17 00:00:00 2001 From: Howard Chung Date: Sun, 14 Jan 2024 20:04:23 -0800 Subject: [PATCH] Update Main.java --- src/main/java/opendota/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/opendota/Main.java b/src/main/java/opendota/Main.java index 59df9324..ac305054 100644 --- a/src/main/java/opendota/Main.java +++ b/src/main/java/opendota/Main.java @@ -143,7 +143,7 @@ public void run() ip = RegisterTask.shellExec("hostname -i"); } int nproc = Runtime.getRuntime().availableProcessors(); - RegisterTask.shellExec("curl -X POST http://" + System.getenv().get("SERVICE_REGISTRY_HOST") + "/register/parser/" + ip + "?size=" + nproc); + RegisterTask.shellExec("curl -X POST https://" + System.getenv().get("SERVICE_REGISTRY_HOST") + "/register/parser/" + ip + "?size=" + nproc); } catch (Exception e) { System.err.println(e); }