diff --git a/app/models/track.js b/app/models/track.js index d1155ab..a329646 100644 --- a/app/models/track.js +++ b/app/models/track.js @@ -60,8 +60,7 @@ const Track = Backbone.Model.extend({ let id = this.get('ressource').fileID; cozysdk.getFileURL(id, 'file', (err, res) => { if (res) { - let url = 'http://' + res.split('@')[1]; // to delete in prod - callback(url); + callback(res); } }) break;