mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 14:37:59 +01:00
Fixed
This commit is contained in:
parent
aea643d9ba
commit
34aaa881d8
1 changed files with 3 additions and 3 deletions
|
@ -76,7 +76,7 @@
|
|||
|
||||
$response = Response::make('', 200);
|
||||
|
||||
if (App::config('app.sendfile')) {
|
||||
if (Config::get('app.sendfile')) {
|
||||
$response->header('X-Sendfile', $track->getFileFor('MP3'));
|
||||
} else {
|
||||
$response->header('X-Accel-Redirect', $track->getFileFor('MP3'));
|
||||
|
@ -111,7 +111,7 @@
|
|||
|
||||
$response = Response::make('', 200);
|
||||
|
||||
if (App::config('app.sendfile')) {
|
||||
if (Config::get('app.sendfile')) {
|
||||
$response->header('X-Sendfile', $track->getFileFor('MP3'));
|
||||
} else {
|
||||
$response->header('X-Accel-Redirect', $track->getFileFor('MP3'));
|
||||
|
|
Loading…
Reference in a new issue