[メモ]Laravel Echoでbroadcasting/auth 404 NotFound
Laravel5.5で公式通りにEchoをインスタンス化したらエラー
broadcasting/auth 404 NotFound
出るし、Pusherからうけとれなかった。
結局authEndpoint:
なるものを仕込んでうまくいった
http://localhost
にアクセスしたときにlaravelプロジェクトを参照するようになっていれば躓かなかった模様
bootstrap.js
window.Echo = new Echo({
authEndpoint: 'http://【ドメインlocalhostとか】/【LaravelProject名】/public/broadcasting/auth',
broadcaster: 'pusher',
key: 'your-pusher-key',
cluster: 'eu',
encrypted: true
});
Author And Source
この問題について([メモ]Laravel Echoでbroadcasting/auth 404 NotFound), 我々は、より多くの情報をここで見つけました https://qiita.com/ntm718/items/77a84dfd62f26376c960著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .