From c5076034951f2b52cbea77f2f38f01916ef984d2 Mon Sep 17 00:00:00 2001 From: Bob Date: Thu, 8 Jul 2021 10:29:50 +0800 Subject: [PATCH] =?UTF-8?q?BUG=20=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96Troja?= =?UTF-8?q?n=E8=8A=82=E7=82=B9=E7=9A=84=E8=BF=9E=E6=8E=A5=E7=AB=AF?= =?UTF-8?q?=E5=8F=A3=E5=9B=BA=E5=AE=9A=E4=B8=BA10053=E7=AB=AF=E5=8F=A3?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Node.php b/app/Models/Node.php index c85daca2..67d72991 100644 --- a/app/Models/Node.php +++ b/app/Models/Node.php @@ -150,7 +150,7 @@ class Node extends Model case 3: $config = array_merge($config, [ 'type' => 'trojan', - 'port' => $this->is_relay ? $this->relay_port : $this->v2_port, + 'port' => $this->is_relay ? $this->relay_port : $this->port, 'passwd' => $user->passwd, 'sni' => $this->is_relay ? $this->server : '', 'udp' => $this->is_udp,