找不到laravel-websocket身份验证的错误404

时间:2019-08-26 09:06:54

标签: laravel websocket

我正在使用laravel-websockets进行实时聊天。

我可以看到仪表板:http://localhost/myproject/laravel-websockets/

当我单击仪表板中的连接

我对

发出的发布请求看到404找不到错误

http://localhost/laravel-websockets/auth

是否可以更改此网址

这是在laravel 5.8和php 7.1.3中

window.Echo =新的Echo({

broadcaster: 'pusher',

key: 'absc',  

cluster: 'ap2',
authEndpoint: 

http://localhost/myproject/custom/broadcasting/auth”,

wsHost: window.location.hostname ,

wsPort: 6001,

disableStats: false,

enabledTransports: ['ws', 'wss'] 

});

我无法使用仪表板查看统计信息和事件

0 个答案:

没有答案
相关问题