From c140f292e849aabc6b965ac1e0cd41b376865ceb Mon Sep 17 00:00:00 2001 From: mercury Date: Tue, 9 Dec 2025 21:57:10 +0400 Subject: [PATCH] fix port for first amnezia container --- app/bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bot.php b/app/bot.php index 272239e..ebc13e5 100644 --- a/app/bot.php +++ b/app/bot.php @@ -3823,7 +3823,7 @@ DNS-over-HTTPS with IP: "client_pub_key" => "0", "config" => $this->createConfig($client), "hostName" => $this->ip, - "port" => (int) getenv('WG1PORT'), + "port" => (int) getenv($this->getInstanceWG() == 'wg1' ? 'WG1PORT' : 'WGPORT'), "psk_key" => $client['peers'][0]['PresharedKey'], "server_pub_key" => $client['peers'][0]['PublicKey'] ]),