diff --git a/Abstracts/WebSocket.php b/Abstracts/WebSocket.php index 606907c..859cb80 100644 --- a/Abstracts/WebSocket.php +++ b/Abstracts/WebSocket.php @@ -42,7 +42,6 @@ class WebSocket extends Component implements OnHandshakeInterface, OnMessageInte $this->collector = \Kiri::getDi()->get(DataGrip::class)->get('wss'); $this->handler = $this->collector->query('/', 'GET'); - $config = \Kiri::getDi()->get(ConfigProvider::class); if ($this->handler->implement(OnHandshakeInterface::class)) { $config->modify('server.ports.events.' . Constant::HANDSHAKE, [$this->handler, 'onHandshake']);