feat: 兼容V2bx 的Hysteria2
This commit is contained in:
1 parent
608ac4271d
commit
72ea53aa15
2 files changed
+14
-5
No files matched your search
@@ -22,7 +22,7 @@ class UniProxyController extends Controller
|
||||
{
|
||||
$this->serverService = $serverService;
|
||||
$this->nodeId = $request->input('node_id');
|
||||
$this->nodeType = $request->input('node_type') === 'v2ray' ? 'vmess' : $request->input('node_type');
|
||||
$this->nodeType = $request->input('node_type');
|
||||
$this->nodeInfo = $this->serverService->getServer($this->nodeId, $this->nodeType);
|
||||
if(!$this->nodeInfo) {
|
||||
Log::channel("daily")->info("$this->nodeId $this->nodeType $this->nodeInfo");
|
||||
|
||||
Reference in new issue
Block a user