diff --git a/app/js/v2/train.js b/app/js/v2/train.js index f9ba29e..f34530a 100644 --- a/app/js/v2/train.js +++ b/app/js/v2/train.js @@ -13,8 +13,8 @@ const TrainModel = Backbone.Model.extend({ 'initialize': function () { const fromStation = this.get('from'); const toStation = this.get('to'); - const url = `https://traintimes.silvrgit.co.uk/getnexttraintimes?from=${ this.get('from') }&to=${ this.get('to')}`; - const routeUrl = `https://traintimes.silvrgit.co.uk/gettrains?from=${ this.get('from') }&to=${ this.get('to')}`; + const url = `https://traintimes.silvrtree.co.uk/getnexttraintimes?from=${ this.get('from') }&to=${ this.get('to')}`; + const routeUrl = `https://traintimes.silvrtree.co.uk/gettrains?from=${ this.get('from') }&to=${ this.get('to')}`; const target = this.get('from') + this.get('to'); this.set('url', url); this.set('routeUrl', routeUrl);