chrisenytc/ubauth

View on GitHub
app/env.js

Summary

Maintainability
A
0 mins
Test Coverage
// Simple wrapper exposing environment variables to rest of the code.

import jetpack from 'fs-jetpack';

// The variables have been written to `env.json` by the build process.
var env = jetpack.cwd(__dirname).read('env.json', 'json');

export default env;