Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yingouqlj committed Jan 24, 2017
1 parent e00c246 commit 939b42b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
use Yingou\HitSpy\Server;

require '../vendor/autoload.php';
date_default_timezone_set("Asia/Shanghai");
$server = new Server();
$server->run();
2 changes: 1 addition & 1 deletion src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function run()
$this->getConfig();
$spy=new Spy();
$spy->makeAnalyticsUrl($this->getConfig());
return $this->getConfig()->response();
return $this->getConfig()->response()->send();
}

/**
Expand Down

0 comments on commit 939b42b

Please sign in to comment.