From ef0d45fb6f73876a645026f075b9685ea7a6fd94 Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Thu, 22 Nov 2018 22:09:54 +0100 Subject: [PATCH] wip --- .../Http/Controllers/StatusController.php | 15 --------------- src/Router.php | 2 -- 2 files changed, 17 deletions(-) delete mode 100644 src/LaravelEcho/Http/Controllers/StatusController.php diff --git a/src/LaravelEcho/Http/Controllers/StatusController.php b/src/LaravelEcho/Http/Controllers/StatusController.php deleted file mode 100644 index 0924f2b..0000000 --- a/src/LaravelEcho/Http/Controllers/StatusController.php +++ /dev/null @@ -1,15 +0,0 @@ - 10 - ]; - } -} \ No newline at end of file diff --git a/src/Router.php b/src/Router.php index 8eba03d..c06e545 100644 --- a/src/Router.php +++ b/src/Router.php @@ -68,8 +68,6 @@ class Router //TODO: add origin checker middleware $this->get('/app/{appKey}', LaravelEcho\WebSocket\PusherServer::class); - // TODO: fleshen out http API - $this->get('/apps/{appId}/status', LaravelEcho\Http\Controllers\StatusController::class); $this->get('/apps/{appId}/channels', LaravelEcho\Http\Controllers\StatusController::class); $this->get('/apps/{appId}/channels/{channelName}', LaravelEcho\Http\Controllers\FetchChannel::class); $this->get('/apps/{appId}/channels/{channelName}/users', LaravelEcho\Http\Controllers\FetchUsers::class);