Skip to content
Snippets Groups Projects
Commit b28fedc7 authored by Tilman Vatteroth's avatar Tilman Vatteroth :robot:
Browse files

Merge branch 'dev'

* dev:
  https anstatt http benutzen im depature-panel
parents 22e7c060 2c096e08
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ class DepartureWorker extends AbstractWorker { ...@@ -13,7 +13,7 @@ class DepartureWorker extends AbstractWorker {
if (isObject(config) && isArrayNotEmpty(config['stops'])) { if (isObject(config) && isArrayNotEmpty(config['stops'])) {
config['stops_converted'] = []; config['stops_converted'] = [];
for (var i = 0; i < config['stops'].length; ++i) { for (var i = 0; i < config['stops'].length; ++i) {
config['stops_converted'].push({url:'http://vrrf.finalrewind.org/'+config['stops'][i].split(':').join('/')+'.json',method:'GET',params:{frontend:'json'}}); config['stops_converted'].push({url:'https://vrrf.finalrewind.org/'+config['stops'][i].split(':').join('/')+'.json',method:'GET',params:{frontend:'json'}});
} }
} }
return config; return config;
...@@ -161,4 +161,4 @@ function calcDateValue(year, month, day, hour, minute) { ...@@ -161,4 +161,4 @@ function calcDateValue(year, month, day, hour, minute) {
return year+month+day+hour+minute; return year+month+day+hour+minute;
} }
new DepartureWorker; new DepartureWorker;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment