From 914b5dc59ee03ff922704d81866b3e924c6b9785 Mon Sep 17 00:00:00 2001 From: Hasby Maulana Date: Tue, 21 May 2024 23:13:31 +0700 Subject: [PATCH] Update websockets.php --- config/websockets.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/config/websockets.php b/config/websockets.php index e46cc85..9b6e805 100644 --- a/config/websockets.php +++ b/config/websockets.php @@ -7,12 +7,10 @@ [ "name" => env("APP_NAME"), "id" => env("WEBSOCKET_ID"), - "host" => env("WEBSOCKET_HOST"), "key" => env("WEBSOCKET_KEY"), "secret" => env("WEBSOCKET_SECRET"), "path" => env("WEBSOCKET_PATH"), - "allowed_origins" => [], - "capacity" => null, + "host" => env("WEBSOCKET_HOST", "127.0.0.1"), "enable_client_messages" => false, "enable_statistics" => true, ], @@ -32,12 +30,12 @@ "domain" => env("WEBSOCKET_DASHBOARD_DOMAIN"), "path" => env("WEBSOCKET_DASHBOARD_PATH", "websocket"), - "port" => env("SERVER_PORT", "6001"), + "port" => env("WEBSOCKET_PORT", 6001), "middleware" => [ "web", - \BeyondCode\LaravelWebSockets\Dashboard\Http\Middleware\Authorize::class, + // \BeyondCode\LaravelWebSockets\Dashboard\Http\Middleware\Authorize::class, // ], ],