Registering routes

This commit is contained in:
Alex Renoki 2020-09-11 08:29:48 +03:00
parent 375078e686
commit 6a23016f98
1 changed files with 12 additions and 0 deletions

View File

@ -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.
*