Skip to content

Commit

Permalink
feat: html
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickJS committed May 20, 2024
1 parent 4018d76 commit 81332cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/qwik-city/runtime/src/server-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ export const serverQrl = <T extends ServerFunction>(
throw obj;
}
return obj;
} else if (contentType === 'text/plain') {
} else if (contentType === 'text/plain' || contentType === 'text/html') {
const str = await res.text();
if (res.status === 500) {
throw str;
Expand Down

0 comments on commit 81332cd

Please sign in to comment.