mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Revert "Fix UTF double encoding in file editor" (#2236)
This commit is contained in:
@@ -53,7 +53,7 @@ class DaemonFileRepository extends DaemonRepository
|
||||
{
|
||||
$response = $this->getHttpClient()
|
||||
->withQueryParameters(['file' => $path])
|
||||
->withBody($content, 'text/plain')
|
||||
->withBody($content)
|
||||
->post("/api/servers/{$this->server->uuid}/files/write");
|
||||
|
||||
if ($response->status() === 400) {
|
||||
|
||||
Reference in New Issue
Block a user