mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Don't try to parse JSON being returned from the API
This commit is contained in:
@@ -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']
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user