File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ function createProxyServer(options) {
3737 * changeOrigin: <true/false, Default: false - changes the origin of the host header to the target URL>
3838 * preserveHeaderKeyCase: <true/false, Default: false - specify whether you want to keep letter case of response header key >
3939 * auth : Basic authentication i.e. 'user:password' to compute an Authorization header.
40- * hostRewrite: rewrites the location hostname on (301/302/307/308) redirects, Default: null.
41- * autoRewrite: rewrites the location host/port on (301/302/307/308) redirects based on requested host/port. Default: false.
42- * protocolRewrite: rewrites the location protocol on (301/302/307/308) redirects to 'http' or 'https'. Default: null.
40+ * hostRewrite: rewrites the location hostname on (201/ 301/302/307/308) redirects, Default: null.
41+ * autoRewrite: rewrites the location host/port on (201/ 301/302/307/308) redirects based on requested host/port. Default: false.
42+ * protocolRewrite: rewrites the location protocol on (201/ 301/302/307/308) redirects to 'http' or 'https'. Default: null.
4343 * }
4444 *
4545 * NOTE: `options.ws` and `options.ssl` are optional.
You can’t perform that action at this time.
0 commit comments