Skip to content

Commit

Permalink
fix http interface
Browse files Browse the repository at this point in the history
  • Loading branch information
lidanyang committed May 30, 2019
1 parent fc6c78a commit c5ec081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/Server/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ function () {
//合并ServerConfig配置
$this->serverConfig->merge();
//配置DI容器
$this->container->set(Request::class, new ResponseProxy());
$this->container->set(Response::class, new RequestProxy());
$this->container->set(Response::class, new ResponseProxy());
$this->container->set(Request::class, new RequestProxy());
set_exception_handler(function ($e) {
$this->getLog()->error($e);
});
Expand Down

0 comments on commit c5ec081

Please sign in to comment.