diff --git a/lib/http-proxy.js b/lib/http-proxy.js index 7dab7a48d..8ea278938 100644 --- a/lib/http-proxy.js +++ b/lib/http-proxy.js @@ -37,9 +37,9 @@ function createProxyServer(options) { * changeOrigin: * preserveHeaderKeyCase: * auth : Basic authentication i.e. 'user:password' to compute an Authorization header. - * hostRewrite: rewrites the location hostname on (301/302/307/308) redirects, Default: null. - * autoRewrite: rewrites the location host/port on (301/302/307/308) redirects based on requested host/port. Default: false. - * protocolRewrite: rewrites the location protocol on (301/302/307/308) redirects to 'http' or 'https'. Default: null. + * hostRewrite: rewrites the location hostname on (201/301/302/307/308) redirects, Default: null. + * autoRewrite: rewrites the location host/port on (201/301/302/307/308) redirects based on requested host/port. Default: false. + * protocolRewrite: rewrites the location protocol on (201/301/302/307/308) redirects to 'http' or 'https'. Default: null. * } * * NOTE: `options.ws` and `options.ssl` are optional.