Skip to content

Commit 8df1172

Browse files
committed
Publish config
1 parent dce5be8 commit 8df1172

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Providers/MicroserviceServiceProvider.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)