Don't try to parse JSON being returned from the API
This commit is contained in:
parent
6f65f6a217
commit
ac52810ef6
2 changed files with 8 additions and 2 deletions
|
@ -85,7 +85,9 @@ class FileController extends ClientApiController
|
|||
return Response::create(
|
||||
$this->fileRepository->setServer($server)->getContent(
|
||||
$request->get('file'), config('pterodactyl.files.max_edit_size')
|
||||
)
|
||||
),
|
||||
Response::HTTP_OK,
|
||||
['Content-Type' => 'text/plain']
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue