mirror of
https://github.com/v2board/v2board.git
synced 2024-11-14 07:29:13 +08:00
update: log
This commit is contained in:
parent
8f0e3ce27d
commit
d1b2e315ce
@ -133,7 +133,7 @@ class ServerService
|
|||||||
abort(500, '节点不存在');
|
abort(500, '节点不存在');
|
||||||
}
|
}
|
||||||
$json = json_decode(self::V2RAY_CONFIG);
|
$json = json_decode(self::V2RAY_CONFIG);
|
||||||
$json->log->loglevel = config('v2board.server_log_level', 'none');
|
$json->log->loglevel = (int)config('v2board.server_log_level') ? 'debug' : 'none';
|
||||||
$json->inboundDetour[0]->port = (int)$localPort;
|
$json->inboundDetour[0]->port = (int)$localPort;
|
||||||
$json->inbound->port = (int)$server->server_port;
|
$json->inbound->port = (int)$server->server_port;
|
||||||
$json->inbound->streamSettings->network = $server->network;
|
$json->inbound->streamSettings->network = $server->network;
|
||||||
|
Loading…
Reference in New Issue
Block a user