mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Proxy should listen only on loopback device (#2388)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
6789815217
commit
7a35253710
@ -28,7 +28,7 @@ export class LensProxy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
listen(port = this.port): this {
|
listen(port = this.port): this {
|
||||||
this.proxyServer = this.buildCustomProxy().listen(port);
|
this.proxyServer = this.buildCustomProxy().listen(port, "127.0.0.1");
|
||||||
logger.info(`[LENS-PROXY]: Proxy server has started at ${this.origin}`);
|
logger.info(`[LENS-PROXY]: Proxy server has started at ${this.origin}`);
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user