update trojan server

This commit is contained in:
Tokumeikoi
2020-06-12 01:31:00 +08:00
parent da98dcad9c
commit 9874ef2f72
2 changed files with 17 additions and 4 deletions

View File

@ -108,7 +108,7 @@ class TrojanTidalabController extends Controller
}
$serverService = new ServerService();
try {
$json = $serverService->getConfig($nodeId, $localPort);
$json = $serverService->getTrojanConfig($nodeId, $localPort);
} catch (\Exception $e) {
abort(500, $e->getMessage());
}