Browse Source

add elastic env

main
matthew 2 years ago
parent
commit
172aa5ff41
  1. 2
      searching-front/services/modules/elastic/index.ts

2
searching-front/services/modules/elastic/index.ts

@ -44,7 +44,7 @@ class Elastic {
private client: Client
constructor() {
this.client = new Client({
node: "http://elasticsearch:9200",
node: process.env.ELASTIC_URL || "http://localhost:9200",
})
}

Loading…
Cancel
Save