diff --git a/src/Server/Manager.php b/src/Server/Manager.php index 0f751cf6..ec418120 100644 --- a/src/Server/Manager.php +++ b/src/Server/Manager.php @@ -204,7 +204,7 @@ public function onRequest($swooleRequest, $swooleResponse) $this->resetOnRequest(); $sandbox = $this->app->make(Sandbox::class); - $handleStatic = $this->container->make('config')->get('swoole_http.handle_static_files', true); + $handleStatic = $this->container->make('config')->get('swoole_http.server.handle_static_files', true); $publicPath = $this->container->make('config')->get('swoole_http.server.public_path', base_path('public')); try {