This commit is contained in:
freek 2018-11-26 23:03:13 +01:00
parent c8c0367663
commit 3dfaa6901c
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ return [
* Leave this empty if you want to accepts requests from all hosts.
*/
'allowedOrigins' => [
//
],
/*

View File

@ -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);
Route::post('auth', AuthenticateDashboard::class);
Route::post('event', SendMessage::class);