htmlLens.js 292 B

12345678910
  1. const htmlLens = {
  2. lensName: "response.html",
  3. isSupportedContentType: (contentType) =>
  4. /\btext\/html|application\/xhtml\+xml\b/i.test(contentType),
  5. renderer: "htmlres",
  6. rendererImport: () =>
  7. import("~/components/lenses/renderers/HTMLLensRenderer"),
  8. }
  9. export default htmlLens