我遇到以下错误:
Pusher : Couldn't get auth info from your webapp : 404
warn @ pusher.min.js:8
r.onreadystatechange @ pusher.min.js:8
pusher.min.js:8 Pusher : Couldn't get auth info from your webapp : 404
pusher.min.js:8 Pusher : No callbacks on private-test for pusher:subscription_error任何帮助都将不胜感激。
发布于 2017-03-20 13:18:52
对于私有通道,您需要为您的通道设置认证路由。在您的routes/channels.php中,应该有如下内容:
Broadcast::channel('test', function ($user) {
return true; // change this to your authentication logic.
});https://stackoverflow.com/questions/42878970
复制相似问题