@qpoint/rewrite-html
Advanced tools
Comparing version 0.1.1 to 0.1.2
import { Context } from '@qpoint/router'; | ||
export interface RewriteHtmlConfig { | ||
} | ||
export default function rewriteHtml(config: RewriteHtmlConfig): (context: Context, next: Function) => any; | ||
export default function rewriteHtml(config?: RewriteHtmlConfig): (context: Context, next: Function) => any; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
// adapter registration | ||
function rewriteHtml(config) { | ||
function rewriteHtml(config = {}) { | ||
// return middleware | ||
@@ -6,0 +6,0 @@ return function run(context, next) { |
{ | ||
"name": "@qpoint/rewrite-html", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A Qpoint adapter for rewriting the response html using the HtmlRewriter rules", | ||
@@ -5,0 +5,0 @@ "author": "Tyler Flint <tyler@qpoint.io>", |
Sorry, the diff of this file is not supported yet
14004