Skip to content

Commit

Permalink
Updated API URL to use HTTPS.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Hastings committed Dec 27, 2014
1 parent 8330868 commit 99e50cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions js/gettimes.js
@@ -1,4 +1,3 @@

WorkerScript.onMessage = function(sentMessage) {
var stopName = sentMessage.stop;
var xmlHttp = new XMLHttpRequest();
Expand Down Expand Up @@ -71,7 +70,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://uluas-times.thecosmicfrog.org/luas-api-v2/luas-api.php?action=times&station=BLA/luas-api-v2/luas-api.php?action=times&station=" + stopCodes[stopName], true);
xmlHttp.open("GET", "https://api.thecosmicfrog.org/cgi-bin/luas-api.php?action=times&station=BLA/luas-api-v2/luas-api.php?action=times&station=" + stopCodes[stopName], true);
xmlHttp.send(null);

xmlHttp.onreadystatechange = function() {
Expand Down
2 changes: 1 addition & 1 deletion uLuas.qml
Expand Up @@ -7,7 +7,7 @@ MainView {
id: mainView

applicationName: "org.thecosmicfrog.uluas"
property string version: "0.21"
property string version: "0.22"

useDeprecatedToolbar: false

Expand Down

0 comments on commit 99e50cf

Please sign in to comment.