Update server ip adres in app
This commit is contained in:
@@ -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");
|
||||||
|
Reference in New Issue
Block a user