Update server ip adres in app

This commit is contained in:
2024-06-03 12:55:34 +02:00
parent 594d0b91d0
commit 99c68fae9a

View File

@@ -28,7 +28,7 @@ public class Networking {
byte[] input = jsonInputString.getBytes(StandardCharsets.UTF_8); byte[] input = jsonInputString.getBytes(StandardCharsets.UTF_8);
HttpURLConnection conn = null; HttpURLConnection conn = null;
try { try {
URL url = new URL("http://145.109.171.85:42069/set-ip"); // Replace with your Node server URL URL url = new URL("http://145.92.8.132:443/set-ip"); // Replace with your Node server URL
conn = (HttpURLConnection) url.openConnection(); conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("POST"); conn.setRequestMethod("POST");
conn.setRequestProperty("Content-Type", "application/json"); conn.setRequestProperty("Content-Type", "application/json");