From 141282e8c7a7b44afff3fdbb353a3cbe07bf0cc6 Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Sat, 1 Oct 2016 17:59:30 +0100 Subject: [PATCH] God damn it Lavo --- app/Models/Track.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Track.php b/app/Models/Track.php index c3bfc141..88213e52 100644 --- a/app/Models/Track.php +++ b/app/Models/Track.php @@ -456,7 +456,7 @@ class Track extends Model implements Searchable, Commentable, Favouritable 'original' => $track->getCoverUrl(Image::ORIGINAL) ], 'streams' => [ - 'mp3' => str_replace('http://adamlav.in', 'https://pony.fm', str_replace('http://ponyfm-dev.poni','https://pony.fm', $track->getStreamUrl('MP3'))), + 'mp3' => $track->getStreamUrl('MP3'), 'aac' => (!Config::get('app.debug') || is_file($track->getFileFor('AAC'))) ? $track->getStreamUrl('AAC') : null, 'ogg' => (Config::get('app.debug') || is_file($track->getFileFor('OGG Vorbis'))) ? $track->getStreamUrl('OGG Vorbis') : null ],