Skip to content

Commit

Permalink
Update Train Times JSON endpoint, increment version to 2.0.1.
Browse files Browse the repository at this point in the history
git-svn-id: https://share-extras.googlecode.com/svn/trunk/Train Times Dashlet@1310 a3f5c567-fd0f-3a89-9b71-a290c5a5f590
  • Loading branch information
wabson committed Oct 16, 2012
1 parent ea20b21 commit 044fb38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
jar.name=train-times-dashlet-2.0.jar
jar.name=train-times-dashlet-2.0.1.jar
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function main()

if (station != null)
{
var uri = "http://ojp.nationalrail.co.uk/en/s/ldb/liveTrainsJson?departing=true&liveTrainsFrom=" + stringUtils.urlEncode(station) + "&liveTrainsTo=" + stringUtils.urlEncode(via) + "&serviceId=",
var uri = "http://ojp.nationalrail.co.uk/service/ldb/liveTrainsJson?departing=true&liveTrainsFrom=" + stringUtils.urlEncode(station) + "&liveTrainsTo=" + stringUtils.urlEncode(via) + "&serviceId=",
connector = remote.connect("http"),
result = connector.get(uri);

Expand Down

0 comments on commit 044fb38

Please sign in to comment.