From 3fec34bae6860e8b72dad24b9cf153b3d48cabe7 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 26 Oct 2019 18:55:08 +0800 Subject: [PATCH] update --- app/Http/Controllers/Server/DeepbworkController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Server/DeepbworkController.php b/app/Http/Controllers/Server/DeepbworkController.php index 772fb3f3..4039cfa0 100644 --- a/app/Http/Controllers/Server/DeepbworkController.php +++ b/app/Http/Controllers/Server/DeepbworkController.php @@ -93,7 +93,7 @@ class DeepbworkController extends Controller $server = Server::find($nodeId); $jsonData = json_decode(self::SERVER_CONFIG); $jsonData->inboundDetour[0]->port = (int)$localPort; - $jsonData->inbound->port = (int)$server->port; + $jsonData->inbound->port = (int)$server->server_port; if ((int)$server->tls) { $jsonData->inbound->streamSettings->security = "tls"; $tls = (object) array("certificateFile" => "/home/v2ray.crt", "keyFile" => "/home/v2ray.key");