tlaverdure / laravel-echo-server

Socket.io server for Laravel Echo
MIT License
2.65k stars 511 forks source link

Not working listening after renaming laravel-project #470

Open zaitebaki opened 4 years ago

zaitebaki commented 4 years ago

After renaming project via command

php artisan app:name Poker

listening channels not working! >>>

            window.Echo.channel('chat')
                .listen('Message', ({message}) => {
                    console.log(message);
                    this.messages.push(message);
                });

After renaming project into default App Laravel name - nice working again

php artisan app:name App

How fix this issue?

Thanks.

pslxx commented 4 years ago

Laravel Redis Prefix is APP_NAME_database

set "keyPrefix":"Pokerdatabase" in laravel-echo-server.json