Skip to content

Commit

Permalink
Remove unused elasticsearch properties
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvain-morin committed Apr 12, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 76412ae commit 9fc951d
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions config.js.ci
Original file line number Diff line number Diff line change
@@ -2,9 +2,7 @@ module.exports = {
apiURL: "http://localhost:3000",
currentVersionURL: "http://localhost:4000/v1",
elasticsearch: {
host: "http://localhost:9200",
geoPointField: "location",
searchIndex: "test_observations"
host: "http://localhost:9200"
},
database: {
user: "postgres",
3 changes: 1 addition & 2 deletions config_example.js
Original file line number Diff line number Diff line change
@@ -15,8 +15,7 @@ module.exports = {
apiHostSSL: false,
writeHostSSL: false,
elasticsearch: {
host: INAT_ES_HOST ? `http://${INAT_ES_HOST}:9200` : "http://localhost:9200",
geoPointField: "location"
host: INAT_ES_HOST ? `http://${INAT_ES_HOST}:9200` : "http://localhost:9200"
},
// Note that the database name will be inferred from the NODE_ENV
// environment variable, e.g. `inaturalist_${process.env.NODE_ENV}`, or it

0 comments on commit 9fc951d

Please sign in to comment.