File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public function boot()
2424
2525 if ($ this ->app ->runningInConsole ()) {
2626 $ this ->publishes ([
27- __DIR__ .'/../config/config.php ' => config_path ('ensi -elastic-query.php ' ),
27+ __DIR__ .'/../config/config.php ' => config_path ('laravel -elastic-query.php ' ),
2828 ], 'config ' );
2929
3030 // Publishing the views.
@@ -53,15 +53,15 @@ public function boot()
5353 public function register ()
5454 {
5555 // Automatically apply the package configuration
56- $ this ->mergeConfigFrom (__DIR__ .'/../config/config.php ' , 'ensi -elastic-query ' );
56+ $ this ->mergeConfigFrom (__DIR__ .'/../config/config.php ' , 'laravel -elastic-query ' );
5757
5858 $ this ->app ->singleton (ElasticClient::class, fn (Application $ app ) => $ this ->createClient ($ app ));
5959 }
6060
6161 private function createClient (Application $ app ): ElasticClient
6262 {
6363 $ naturalClient = (new ClientBuilder ())
64- ->setHosts ($ app ['config ' ]['ensi -elastic-query.connection.hosts ' ])
64+ ->setHosts ($ app ['config ' ]['laravel -elastic-query.connection.hosts ' ])
6565 ->build ();
6666
6767 return new ElasticClient ($ naturalClient );
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public static function getInstance(): self
3939 private static function createInstance (): self
4040 {
4141 $ client = ClientBuilder::create ()
42- ->setHosts (config ('ensi -elastic-query.connection.hosts ' ))
42+ ->setHosts (config ('laravel -elastic-query.connection.hosts ' ))
4343 ->build ();
4444
4545 return new self ($ client );
You can’t perform that action at this time.
0 commit comments