nitpicks
This commit is contained in:
parent
ffe6cc19b4
commit
9dfa63ca3a
|
|
@ -1,5 +1,9 @@
|
|||
<?php
|
||||
|
||||
Route::get('/', 'ShowConsole');
|
||||
Route::post('/auth', 'AuthenticateConsole');
|
||||
Route::post('/event', 'SendMessage');
|
||||
use BeyondCode\LaravelWebsockets\Http\Controllers\AuthenticateConsole;
|
||||
use BeyondCode\LaravelWebsockets\Http\Controllers\SendMessage;
|
||||
use BeyondCode\LaravelWebsockets\Http\Controllers\ShowConsole;
|
||||
|
||||
Route::get('/', ShowConsole::class);
|
||||
Route::post('/auth', AuthenticateConsole::class);
|
||||
Route::post('/event', SendMessage::class);
|
||||
|
|
@ -39,9 +39,8 @@ class WebSocketsServiceProvider extends ServiceProvider
|
|||
protected function routeConfiguration()
|
||||
{
|
||||
return [
|
||||
'namespace' => 'BeyondCode\LaravelWebSockets\Http\Controllers',
|
||||
'prefix' => config('websockets.dashboard.path'),
|
||||
'middleware' => 'websockets'
|
||||
'middleware' => 'websockets',
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue