Permalink
Browse files

Updated API URL to use HTTPS.

  • Loading branch information...
Aaron Hastings
Aaron Hastings committed Dec 27, 2014
1 parent 38d000c commit eda9504f5467c96583854299f59efcafc3f58725
Showing with 2 additions and 3 deletions.
  1. +1 −2 js/gettimes.js
  2. +1 −1 uDART.qml
@@ -1,4 +1,3 @@

WorkerScript.onMessage = function(sentMessage) {
var station = sentMessage.station;
var xmlHttp = new XMLHttpRequest();
@@ -11,7 +10,7 @@ WorkerScript.onMessage = function(sentMessage) {

// Query a hosted Luas API script. Returns JSON object with service message and times for the given stop.
// API can be found here: https://github.com/ncremins/luas-api
xmlHttp.open("GET", "http://udart-times.thecosmicfrog.org/irish-rail-api-v1/irish-rail-api.php?station=" + station, true);
xmlHttp.open("GET", "https://api.thecosmicfrog.org/cgi-bin/irish-rail-api.php?station=" + station, true);
xmlHttp.send(null);

xmlHttp.onreadystatechange = function() {
@@ -7,7 +7,7 @@ MainView {
id: mainView

applicationName: "org.thecosmicfrog.udart"
property string version: "0.15"
property string version: "0.16"

useDeprecatedToolbar: false

0 comments on commit eda9504

Please sign in to comment.