-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pusher not working, chat need to refresh page after send #5
Comments
I have this problem too.. |
The problem is solved by correct .env options. |
You can provide your answer so that others can get helped :) |
Of course Samiron :) I change three files. First .env file BROADCAST_DRIVER=pusher PUSHER_APP_ID= this credentials can be found in pusher account, channels(projects) -> App Keys Second file is HomeController, sendMessage function // pusher
and the finnal one app.blade file inside resources->views->layouts->app.blade we need the change with pusher app key with between Pusher(' ', var pusher = new Pusher('1d914f493de58f18', { And finnaly we need to run: npm run dev It's working like a charm. Thank you very much :) |
After sending a message, chat does not appear in realtime. It need to refresh to get the message.
The text was updated successfully, but these errors were encountered: