Skip to content

Commit

Permalink
feat: add withHtml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbonnet committed May 30, 2022
1 parent 1c8d50a commit cc5c185
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/withHtml.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { withContentType } from "./withContentType.js";

export function withHtml(body, options = null) {
return withContentType("text/html", body, options);
}

0 comments on commit cc5c185

Please sign in to comment.