cancel tunnel

This commit is contained in:
dongwei 2019-01-30 14:49:38 +08:00
parent 99f5b6c8f8
commit 7b23b84083

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',