mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
wip
This commit is contained in:
@@ -80,9 +80,12 @@ class Factory
|
||||
|
||||
protected function addExposeRoutes()
|
||||
{
|
||||
$wsServer = new WsServer(app(ControlMessageController::class));
|
||||
$wsServer->enableKeepAlive($this->loop);
|
||||
|
||||
$this->routes->add('control',
|
||||
new Route('/__expose_control__', [
|
||||
'_controller' => new WsServer(app(ControlMessageController::class))
|
||||
'_controller' => $wsServer
|
||||
], [], [], null, [], []
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user