Skip to content

Commit 32395e5

Browse files
committed
Merge branch 'master' of https://github.com/ErickTamayo/laravel-scout-elastic into 1.0.0
2 parents 26b3ecc + 8faccbe commit 32395e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ElasticsearchProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ public function boot()
1515
{
1616
resolve(EngineManager::class)->extend('elasticsearch', function($app){
1717
return new ElasticsearchEngine(ElasticBuilder::create()
18-
->setHosts(config('scout.elasticsearch.hosts'))
18+
->setHosts(config('scout.elasticsearch.config.hosts'))
1919
->build(),
2020
config('scout.elasticsearch.index')
2121
);
2222
});
2323
}
24-
}
24+
}

0 commit comments

Comments
 (0)