Open salhdev opened 5 years ago
I was able to setup the callback endpoint by adding the following route config:
[
'uri' => "{$route_prefix}/broadcasting/callback/{secret}",
'name' => 'pragmarx.health.broadcasting.callback',
'action' => "PragmaRX\Health\Http\Controllers\Broadcasting@callback",
'middleware' => [
'web',
'admin',
],
],
However, the Broadcasting test doesn't seem to be working at all.
Hello, I have tested this package with a fresh new installation of laravel 5.7 to make sure there was no interference from any other package. I also used the "dev-master" version to see if the problem had been resolved. The javascript gets a 404 not found when it sends the pong message, I listed all routes and could not find the callback route ! I have no idea why the callback route is not being registered :( This is what the js script outputs :
and this is the route:list : vagrant@homestead:~/code/laravel-5-boilerplate$ php artisan route:list | grep health
Thanks for looking into it ! Salh