Fix localAddress type (#43227)

localAddress is not a boolean, it's a string as even stated in it's description.
This commit is contained in:
Ali Taheri Moghaddar 2020-03-20 18:37:12 +03:00 committed by GitHub
parent 9758f5b2e6
commit 1754e384f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,7 +207,7 @@ declare namespace Server {
/** Specify whether you want to ignore the proxy path of the incoming request. */
ignorePath?: boolean;
/** Local interface string to bind for outgoing connections. */
localAddress?: boolean;
localAddress?: string;
/** Changes the origin of the host header to the target URL. */
changeOrigin?: boolean;
/** specify whether you want to keep letter case of response header key */