File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function boot(Router $router): void
3939 // Publish config
4040 $ this ->publishes ([
4141 __DIR__ .'/../config/microservice.php ' => config_path ('microservice.php ' ),
42- ]);
42+ ], ' config ' );
4343
4444 $ aliases = config ('microservice-core.middleware_aliases ' , []);
4545
@@ -56,7 +56,6 @@ public function boot(Router $router): void
5656 $ router ->prependMiddlewareToGroup ('api ' , CorrelationId::class);
5757 }
5858
59-
6059 // HTTP
6160 Http::macro ('apiGateway ' , function () {
6261 return Http::acceptJson ()
@@ -85,8 +84,5 @@ public function boot(Router $router): void
8584 ->baseUrl (config ('services.api_gateway.url ' ))
8685 ->timeout (5 );
8786 });
88-
89- // Middlewares
90- $ this ->app ->make (Kernel::class)->pushMiddleware (ValidateJwt::class);
9187 }
9288}
You can’t perform that action at this time.
0 commit comments