Код: Выделить всё
On localhost in .env I have
REVERB_HOST="localhost"
REVERB_PORT=8080
REVERB_SCHEME=http
Код: Выделить всё
REVERB_HOST="www.mydomain.com"
REVERB_PORT=443
REVERB_SCHEME=https
Код: Выделить всё
...
SSLEngine On
ProxyPass "/app" "ws://0.0.0.0:8080/app"
ProxyPassReverse "/app" "ws://0.0.0.0:8080/app"
Код: Выделить всё
{"event":"pusher:connection_established","data":"{\"socket_id\":\"325487270.879942365\",\"activity_timeout\":30}"}
{"event":"pusher:subscribe","data":{"auth":"yzvrte6lfsudidxcfwkg:4055a502db436191e71198aeadf394db1defd0850c86e55f37fde6d59a9e83eb","channel":"private-user.3"}}
{"event":"pusher_internal:subscription_succeeded","data":"{}","channel":"private-user.3"}
Код: Выделить всё
The POST method is not supported for route apps/174502/events. Supported methods: GET, HEAD.
Код: Выделить всё
protected static function pusherRoutes(): RouteCollection
{
$routes = new RouteCollection;
...
$routes->add('events', Route::post('/apps/{appId}/events', new EventsController));
return $routes;
}
Подробнее здесь: https://stackoverflow.com/questions/786 ... che-server
Мобильная версия