http-proxy-middleware
Version:
The one-liner node.js proxy middleware for connect, express, next.js and more
7 lines (6 loc) • 333 B
TypeScript
import { Plugin } from '../../types';
/**
* Subscribe to {@link https://www.npmjs.com/package/http-proxy#listening-for-proxy-events http-proxy error events} to prevent server from crashing.
* Errors are logged with {@link https://www.npmjs.com/package/debug debug} library.
*/
export declare const debugProxyErrorsPlugin: Plugin;