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