I keep getting this error with my private channels,
Access to XMLHttpRequest at 'http://site.me/api/broadcasting/auth' from origin 'http://localhost:3001' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Cross-Origin Read Blocking (CORB) blocked cross-origin response http://site.me/api/broadcasting/auth with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details.
public channel working fine, this happens on both local with homestead and production on VPS.
If can help I am using:
"barryvdh/laravel-cors": "^0.11.4",
"beyondcode/laravel-websockets": "^1.3",
"laravel-echo": "^1.6.1",
"pusher-js": "^5.0.3",
Any solution for this? Getting similar message on VPS
Most helpful comment
Any solution for this? Getting similar message on VPS