mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update: log
This commit is contained in:
parent
8f0e3ce27d
commit
d1b2e315ce
@ -133,7 +133,7 @@ class ServerService
|
||||
abort(500, '节点不存在');
|
||||
}
|
||||
$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->inbound->port = (int)$server->server_port;
|
||||
$json->inbound->streamSettings->network = $server->network;
|
||||
|
Loading…
Reference in New Issue
Block a user