check for dev env

This commit is contained in:
keyan 2022-01-28 12:58:38 -06:00
parent af2c990a51
commit e613ea5816
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
const os = require('@opensearch-project/opensearch')
global.os = global.os || new os.Client(
process.env.NODE_ENV === 'production'
process.env.NODE_ENV !== 'development'
? {
node: process.env.OPENSEARCH_URL,
auth: {