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

https anstatt http benutzen im depature-panel

parent 22c3f8d8
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ class DepartureWorker extends AbstractWorker {
if (isObject(config) && isArrayNotEmpty(config['stops'])) {
config['stops_converted'] = [];
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;
......@@ -161,4 +161,4 @@ function calcDateValue(year, month, day, hour, minute) {
return year+month+day+hour+minute;
}
new DepartureWorker;
\ No newline at end of file
new DepartureWorker;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment