fix(fixminio): stream image from minio (#6)
Some checks reported errors
Cadoles/nineskeletor/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
Cadoles/nineskeletor/pipeline/head Something is wrong with the build of this commit
fix load image from minio Co-authored-by: Arnaud Fornerot <afornerot@cadoles.com> Reviewed-on: #6
This commit is contained in:
@ -73,8 +73,7 @@ class MinioController extends AbstractController
|
||||
}
|
||||
// C'est du contenu dynamique on download depuis minio
|
||||
else {
|
||||
$filePath = $this->minio->download($file, $file, true);
|
||||
$content = file_get_contents($filePath);
|
||||
return new Response($this->minio->image($file, $file));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user