Skip to content

Commit

Permalink
fix: Remove base64 conversion
Browse files Browse the repository at this point in the history
Some mime types should be left as base64
  • Loading branch information
2Steaks committed Jul 19, 2024
1 parent 2e945bc commit 56a6520
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/harToProxyData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ function parseRequest(request: Entry['request']): Request {
}

function parseResponse(response: Entry['response']): Response {
const content = response.content?.text ? atob(response.content.text) : ''
const content = response.content?.text ?? ''

return {
statusCode: response.status,
reason: response.statusText,
Expand Down

0 comments on commit 56a6520

Please sign in to comment.