Hi I am tring to build a real time chat application with websockets but whenever I try to go visit http://127.0.0.1:8000/laravel-websockets I get error 404 not found. I did all the steps like in the documentation so I don't understand what might be the issue: Followed all the steps here:
https://beyondco.de/docs/laravel-websockets/basic-usage/starting
websockets config
'apps' => [
[
'id' => env('PUSHER_APP_ID'),
'name' => env('APP_NAME'),
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'path' => env('PUSHER_APP_PATH'),
'capacity' => null,
'enable_client_messages' => false,
'enable_statistics' => true,
],
]
.env file
PUSHER_APP_ID=anyID
PUSHER_APP_KEY=anyKey
PUSHER_APP_SECRET=anySecret
PUSHER_APP_CLUSTER=mt1
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire