From 988d3a0552f02cb5007c51b77c3259c6f86a09e2 Mon Sep 17 00:00:00 2001
From: librelois <c@elo.tf>
Date: Fri, 7 May 2021 18:50:28 +0200
Subject: [PATCH] feat(ws2p): listen to unspecified ip by default in env var
 mode

---
 app/modules/ws2p/index.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/modules/ws2p/index.ts b/app/modules/ws2p/index.ts
index f7c9a7252..d5ac7b4c2 100644
--- a/app/modules/ws2p/index.ts
+++ b/app/modules/ws2p/index.ts
@@ -271,7 +271,7 @@ export class WS2PAPI extends stream.Transform {
       } else {
         this.conf.ws2p.publicAccess = true;
         this.conf.ws2p.upnp = false;
-        this.conf.ws2p.host = "127.0.0.1";
+        this.conf.ws2p.host = "0.0.0.0";
         this.conf.ws2p.port = 20901;
         this.conf.ws2p.maxPublic = 30;
         this.conf.ws2p.maxPrivate = 4;
-- 
GitLab