Subversion Repository Public Repository

Nextrek

Diff Revisions 524 vs 525 for /Android/SmartCharging/SmartCharging/app/src/main/java/it/fedeloper/smartcharging/Controller/LoginActivity.java

Diff revisions: vs.
  @@ -214,7 +214,7 @@
214 214 obj.put("username", user);
215 215 obj.put("password", pass);
216 216 new Thread(new Runnable() { public void run() {
217 - JSONObject resp = HttpClient.SendHttpPostAsync("http://svm19842.vps.tagadab.it:8084/smartcharging" + MainActivity.path + "/login.php", obj);
217 + JSONObject resp = HttpClient.SendHttpPostAsync(EndPoint.MAIN_END_POINT + "/login.php", obj);
218 218 try {
219 219 int code = resp.getInt("return");
220 220 int id = resp.getInt("id");