Skip to content

Commit

Permalink
Try other format
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Oct 10, 2017
1 parent e0b1499 commit 9ff63d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/Media/Http/Controllers/Frontend/MediaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ public function show($path)

$path = storage_path('app' . $file->path->getRelativeUrl());

return Image::make($path)->response();
//return Image::make($path)->response();

return response()->file($path, [
"Content-Type:$type",
'Content-Type' => $type,
]);
}
}

0 comments on commit 9ff63d4

Please sign in to comment.