From 139aeb3f481ed1b87c750d289bd9eb3211ce4aa0 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Tue, 31 Mar 2020 00:36:01 +0800 Subject: [PATCH] update --- app/Services/ServerService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Services/ServerService.php b/app/Services/ServerService.php index 1a2df554..a63aeebb 100644 --- a/app/Services/ServerService.php +++ b/app/Services/ServerService.php @@ -43,6 +43,7 @@ class ServerService $json->inboundDetour[0]->port = (int)$localPort; $json->inbound->port = (int)$server->server_port; $json->inbound->streamSettings->network = $server->network; + $this->setDns($server, $json); $this->setNetwork($server, $json); $this->setRule($server, $json); $this->setTls($server, $json); @@ -54,7 +55,7 @@ class ServerService { if ($server->dnsSettings) { $dns = json_decode($server->dnsSettings); - + $json->dns = $dns; } }