tokenbridge/oracle/env.js

5 lines
152 B
JavaScript
Raw Permalink Normal View History

const path = require('path')
require('dotenv').config({
path: path.join(__dirname, process.env.NODE_ENV === 'test' ? './test/test.env' : './.env')
})