Open nrejac opened 4 years ago
That value isn't used even in testing. config.search.index is but not config.search.server
Great, definitely should be removed to avoid being misleading.
Here is another line that should be modified, after copying into 'info', info.server is deleted: https://github.com/iDigBio/idigbio-search-api/blob/124a086c8e56ac16e04dc6d2b3f2548d24ebd1f1/src/controllers/home.js#L56
See the following code that references a hard-coded value, 'c18node2.acis.ufl.edu': https://github.com/iDigBio/idigbio-search-api/blob/2b938666ffeb04476ba9293bfd6be600ed4b4235/src/config.js#L31