在config/app.php已经没有注释了
App\Providers\BroadcastServiceProvider::class, 和
Illuminate\Broadcasting\BroadcastServiceProvider::class,错误:
POST http://pusherapp.local:8888/broadcasting/auth 404 (Not Found)我正在使用Mamp 4和Laravel 5.5。
发布于 2018-01-09 16:00:53
尝试以下命令
php artisan config:cache
composer require pusher/pusher-php-server "~2.6" (用户2.6,因为3.0有类推动器找不到问题)
composer update (只是为了确保一切都是最新的)
php artisan config:cache (再做一次)
发布于 2021-09-14 23:35:56
如果您将Jetstream与Livewire结合使用,请尝试
Broadcast::routes(['middleware' => 'auth:sanctum']);
在您的boot方法中使用BroadcastServiceProvider.php。
https://stackoverflow.com/questions/48167398
复制相似问题