diff --git a/config/websockets.php b/config/websockets.php index 877bb77..4cfdb49 100644 --- a/config/websockets.php +++ b/config/websockets.php @@ -49,7 +49,7 @@ return [ * Leave this empty if you want to accepts requests from all hosts. */ 'allowedOrigins' => [ - + // ], /* diff --git a/src/Dashboard/Http/routes.php b/src/Dashboard/Http/routes.php index bc5729c..99d0f6f 100644 --- a/src/Dashboard/Http/routes.php +++ b/src/Dashboard/Http/routes.php @@ -5,5 +5,5 @@ use BeyondCode\LaravelWebSockets\Dashboard\Http\Controllers\SendMessage; use BeyondCode\LaravelWebSockets\Dashboard\Http\Controllers\ShowDashboard; Route::get('/', ShowDashboard::class); -Route::post('/auth', AuthenticateDashboard::class); -Route::post('/event', SendMessage::class); \ No newline at end of file +Route::post('auth', AuthenticateDashboard::class); +Route::post('event', SendMessage::class); \ No newline at end of file