Commit 8bdf158d authored by Carles Pina's avatar Carles Pina

Changes the URL of the API server from chronojump.org:8080/api to api.chronojump.org:8080

Improves user messager.
parent 22abb96d
......@@ -43,7 +43,7 @@ public class JsonPost
}
// Create a request using a URL that can receive a post.
WebRequest request = WebRequest.Create ("http://chronojump.org:8080/api/backtrace");
WebRequest request = WebRequest.Create ("http://api.chronojump.org:8080/backtrace");
// Set the Method property of the request to POST.
request.Method = "POST";
......@@ -62,7 +62,7 @@ public class JsonPost
try {
dataStream = request.GetRequestStream ();
} catch {
this.ResultMessage = Catalog.GetString("Could not send file.\nYou are not connected to the Internet\nor server is down.");
this.ResultMessage = Catalog.GetString("Could not send file.\nYou are not connected to the Internet\nor (http://api.chronojump.org:8080) server is down.");
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment