Skip to content

Commit

Permalink
fix: consider the case where the response from the vite server is encode
Browse files Browse the repository at this point in the history
  • Loading branch information
ttskch committed Oct 3, 2024
1 parent c09b0b2 commit 53aa116
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Controller/ViteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public function proxyBuild(string $path, ?string $configName = null): Response

$response = $this->httpClient->request(
'GET',
$origin.$base.$path
$origin.$base.$path,
['headers' => ['Accept-Encoding' => '']],
);

$content = $response->getContent();
Expand Down

0 comments on commit 53aa116

Please sign in to comment.