close tunnel

This commit is contained in:
dongwei 2019-02-20 13:55:03 +08:00
parent 81b327c30d
commit 198318d9d0

View File

@ -26,7 +26,7 @@ class LumenServerServiceProvider extends BaseServiceProvider
public function boot() public function boot()
{ {
parent::boot(); parent::boot();
$this->app->middleware(TunnelMiddleware::class); // $this->app->middleware(TunnelMiddleware::class);
$this->app->routeMiddleware(['rpc.security' => Security::class]); $this->app->routeMiddleware(['rpc.security' => Security::class]);
$this->app->router->group([ $this->app->router->group([
'prefix' => 'rpc', 'prefix' => 'rpc',