mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-18 02:54:21 +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);
|
$response = Response::make('', 200);
|
||||||
|
|
||||||
if (App::config('app.sendfile')) {
|
if (Config::get('app.sendfile')) {
|
||||||
$response->header('X-Sendfile', $track->getFileFor('MP3'));
|
$response->header('X-Sendfile', $track->getFileFor('MP3'));
|
||||||
} else {
|
} else {
|
||||||
$response->header('X-Accel-Redirect', $track->getFileFor('MP3'));
|
$response->header('X-Accel-Redirect', $track->getFileFor('MP3'));
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
|
|
||||||
$response = Response::make('', 200);
|
$response = Response::make('', 200);
|
||||||
|
|
||||||
if (App::config('app.sendfile')) {
|
if (Config::get('app.sendfile')) {
|
||||||
$response->header('X-Sendfile', $track->getFileFor('MP3'));
|
$response->header('X-Sendfile', $track->getFileFor('MP3'));
|
||||||
} else {
|
} else {
|
||||||
$response->header('X-Accel-Redirect', $track->getFileFor('MP3'));
|
$response->header('X-Accel-Redirect', $track->getFileFor('MP3'));
|
||||||
|
|
Loading…
Reference in a new issue