set config variables for env variables
This commit is contained in:
@@ -13,10 +13,10 @@ class SearchController extends Controller
|
||||
public function __construct()
|
||||
{
|
||||
$this->client = new Client([
|
||||
'api_key' => config('typesense_api_key'),
|
||||
'api_key' => config('app.typesense_api_key'),
|
||||
'nodes' => [
|
||||
[
|
||||
'host' => config('typesense_connection'),
|
||||
'host' => config('app.typesense_connection'),
|
||||
'port' => '8108',
|
||||
'protocol' => 'http',
|
||||
],
|
||||
|
||||
@@ -14,10 +14,10 @@ class TypesenseService
|
||||
public function __construct()
|
||||
{
|
||||
$this->client = new Client([
|
||||
'api_key' => config('typesense_api_key'),
|
||||
'api_key' => config('app.typesense_api_key'),
|
||||
'nodes' => [
|
||||
[
|
||||
'host' => config('typesense_connection'),
|
||||
'host' => config('app.typesense_connection'),
|
||||
'port' => '8108',
|
||||
'protocol' => 'http',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user