From a30979659c28a82380f2a3117071a7d6f40a0ded Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 14 May 2019 10:05:08 +0800 Subject: [PATCH] Tweak config. Signed-off-by: Mior Muhammad Zaki --- config/swarm.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/swarm.php b/config/swarm.php index dd3c2e0..640749d 100644 --- a/config/swarm.php +++ b/config/swarm.php @@ -9,6 +9,7 @@ | Define the server configuration including port number, SSL support etc. | */ + 'server' => [ 'host' => env('SWARM_SERVER_HOST', '127.0.0.1'), 'port' => env('SWARM_SERVER_PORT', 8085), @@ -48,6 +49,7 @@ | This array contains the hosts of which you want to allow incoming requests. | Leave this empty if you want to accept requests from all hosts. */ + 'allowed_origins' => [ // ], @@ -59,5 +61,6 @@ | | The maximum request size in kilobytes that is allowed for an incoming WebSocket request. */ + 'max_request_size_in_kb' => 250, ];