[chronojump] Changes the URL of the API server from chronojump.org:8080/api to api.chronojump.org:8080
- From: Carles Pina i Estany <carlespina src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Changes the URL of the API server from chronojump.org:8080/api to api.chronojump.org:8080
- Date: Tue, 20 Jan 2015 22:16:04 +0000 (UTC)
commit 8bdf158dbecc59c0fd896e1231d171d5954cdb7e
Author: Carles Pina i Estany <carles pina cat>
Date: Tue Jan 20 22:13:48 2015 +0000
Changes the URL of the API server from chronojump.org:8080/api to api.chronojump.org:8080
Improves user messager.
src/json_post.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/json_post.cs b/src/json_post.cs
index 5291bd2..c44de47 100644
--- a/src/json_post.cs
+++ b/src/json_post.cs
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]