open tunnel

This commit is contained in:
dongwei 2019-02-20 15:45:08 +08:00
parent 12684966a6
commit 70c14f7f33

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