[CorsMiddleware::class]]); Router::get('/favicon.ico', function () { return ''; }); Router::addServer('ws', function () { Router::get('/', 'App\Controller\WebSocketController'); });