Skip to content

Commit

Permalink
use the fully qualified domain name, as the ip address may change (no…
Browse files Browse the repository at this point in the history
… guarantee of it being static)
  • Loading branch information
Arnav Gupta committed Dec 20, 2013
1 parent d902980 commit 59cbc90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App/src/main/java/in/ac/dtu/subtlenews/UpdateNews.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ protected String doInBackground(Void... v){

try {
HttpClient httpclient = new DefaultHttpClient();
HttpResponse response = httpclient.execute(new HttpGet("http://162.243.238.19/sauravtom/summary.txt"));
HttpResponse response = httpclient.execute(new HttpGet("http://springboard.championswimmer.in/sauravtom/summary.txt"));
HttpEntity entity = response.getEntity();
String result = EntityUtils.toString(entity);
return result;
Expand Down

0 comments on commit 59cbc90

Please sign in to comment.