Skip to content

Commit

Permalink
Update websockets.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbmaulana authored May 21, 2024
1 parent e1af2cf commit 914b5dc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions config/websockets.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
],
Expand All @@ -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, //
],
],

Expand Down

0 comments on commit 914b5dc

Please sign in to comment.