Skip to content
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
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) {
37
37
* changeOrigin: <true/false, Default: false - changes the origin of the host header to the target URL>
38
38
* preserveHeaderKeyCase: <true/false, Default: false - specify whether you want to keep letter case of response header key >
39
39
* 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.
43
43
* }
44
44
*
45
45
* NOTE: `options.ws` and `options.ssl` are optional.
You can’t perform that action at this time.
0 commit comments