Skip to content

Commit 27a3fed

Browse files
authored
Merge pull request swooletw#411 from Linc70J/patch-1
fix handle_static_files config path
2 parents 2f8bebb + 9bce1c2 commit 27a3fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Server/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public function onRequest($swooleRequest, $swooleResponse)
204204

205205
$this->resetOnRequest();
206206
$sandbox = $this->app->make(Sandbox::class);
207-
$handleStatic = $this->container->make('config')->get('swoole_http.handle_static_files', true);
207+
$handleStatic = $this->container->make('config')->get('swoole_http.server.handle_static_files', true);
208208
$publicPath = $this->container->make('config')->get('swoole_http.server.public_path', base_path('public'));
209209

210210
try {

0 commit comments

Comments
 (0)