mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-03-07 15:16:40 +08:00
Apply fixes from StyleCI (#22)
This commit is contained in:
parent
62f545531d
commit
1c5f732c3c
@ -224,8 +224,10 @@ class TextureController extends Controller
|
||||
$image = ob_get_contents();
|
||||
ob_end_clean();
|
||||
imagedestroy($png);
|
||||
|
||||
return $image;
|
||||
});
|
||||
|
||||
return response($content)->withHeaders(['content-type' => 'image/png']);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user