modify plugin name
This commit is contained in:
@@ -65,6 +65,7 @@ trait TraitServer
|
|||||||
public function genConfigService(array $ports): array
|
public function genConfigService(array $ports): array
|
||||||
{
|
{
|
||||||
$array = [];
|
$array = [];
|
||||||
|
$ports = $ports['ports'] ?? [];
|
||||||
foreach ($ports as $port) {
|
foreach ($ports as $port) {
|
||||||
$config = \Kiri::getDi()->create(Config::class, [], $port);
|
$config = \Kiri::getDi()->create(Config::class, [], $port);
|
||||||
if ($port['type'] == Constant::SERVER_TYPE_WEBSOCKET) {
|
if ($port['type'] == Constant::SERVER_TYPE_WEBSOCKET) {
|
||||||
|
|||||||
Reference in New Issue
Block a user