UNPKG

http-proxy-middleware

Version:

The one-liner node.js proxy middleware for connect, express and browser-sync

15 lines (14 loc) 392 B
export declare function getInstance(): any; /** * -> normal proxy * => router * ~> pathRewrite * ≈> router + pathRewrite * * @param {String} originalPath * @param {String} newPath * @param {String} originalTarget * @param {String} newTarget * @return {String} */ export declare function getArrow(originalPath: any, newPath: any, originalTarget: any, newTarget: any): string;