mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix IPv6 missing brackets in httpProxy.ServerOptions
Signed-off-by: dominic_dl <me@dominic.link>
This commit is contained in:
parent
f61330611e
commit
2a520c0997
@ -157,6 +157,10 @@ export class ContextHandler implements ClusterContextHandler {
|
|||||||
headers.Host = this.clusterUrl.hostname;
|
headers.Host = this.clusterUrl.hostname;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (headers.Host.includes(":")) {
|
||||||
|
headers.Host = "[" + headers.Host + "]";
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
target: {
|
target: {
|
||||||
protocol: "https:",
|
protocol: "https:",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user