images corrected

This commit is contained in:
HolgerHatGarKeineNode
2023-04-25 11:23:46 +02:00
parent c2d38f0f36
commit 5a4322b035
2 changed files with 3 additions and 5 deletions

View File

@@ -19,9 +19,7 @@ class ImageController extends Controller
*/
public function __invoke(Request $request, Filesystem $filesystem, $path)
{
if (str($request->path())->contains('img-public')) {
$filesystemPublic = Storage::disk('publicDisk');
}
$filesystemPublic = Storage::disk('publicDisk');
$server = ServerFactory::create([
'response' => new LaravelResponseFactory(app('request')),