Registering routes
This commit is contained in:
parent
375078e686
commit
6a23016f98
|
|
@ -78,6 +78,8 @@ class StartServer extends Command
|
|||
|
||||
$this->configureRestartTimer();
|
||||
|
||||
$this->configureRoutes();
|
||||
|
||||
$this->startServer();
|
||||
}
|
||||
|
||||
|
|
@ -159,6 +161,16 @@ class StartServer extends Command
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the routes for the server.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function configureRoutes()
|
||||
{
|
||||
WebSocketRouter::routes();
|
||||
}
|
||||
|
||||
/**
|
||||
* Configure the HTTP logger class.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue