chore: change dir (prepare to merge)
This commit is contained in:
parent
f3078c47ea
commit
7c55806956
31 changed files with 0 additions and 0 deletions
7
Services/server/src/elasticsearch/index.ts
Normal file
7
Services/server/src/elasticsearch/index.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { Client } from "@elastic/elasticsearch";
|
||||
|
||||
const esClient = new Client({
|
||||
node: `${process.env.ELASTICSEARCH_PROTOCOL}://${process.env.ELASTICSEARCH_HOST}:${process.env.ELASTICSEARCH_PORT}`,
|
||||
});
|
||||
|
||||
export default esClient;
|
||||
Loading…
Add table
Add a link
Reference in a new issue