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
39
39
// Publish config
40
40
$ this ->publishes ([
41
41
__DIR__ .'/../config/microservice.php ' => config_path ('microservice.php ' ),
42
- ]);
42
+ ], ' config ' );
43
43
44
44
$ aliases = config ('microservice-core.middleware_aliases ' , []);
45
45
@@ -56,7 +56,6 @@ public function boot(Router $router): void
56
56
$ router ->prependMiddlewareToGroup ('api ' , CorrelationId::class);
57
57
}
58
58
59
-
60
59
// HTTP
61
60
Http::macro ('apiGateway ' , function () {
62
61
return Http::acceptJson ()
@@ -85,8 +84,5 @@ public function boot(Router $router): void
85
84
->baseUrl (config ('services.api_gateway.url ' ))
86
85
->timeout (5 );
87
86
});
88
-
89
- // Middlewares
90
- $ this ->app ->make (Kernel::class)->pushMiddleware (ValidateJwt::class);
91
87
}
92
88
}
You can’t perform that action at this time.
0 commit comments