2019-01-06 02:03:10 +00:00
|
|
|
import invariant from 'invariant';
|
|
|
|
|
2019-01-06 00:50:05 +00:00
|
|
|
export const npmRegistryURL =
|
|
|
|
process.env.NPM_REGISTRY_URL || 'https://registry.npmjs.org';
|
|
|
|
|
|
|
|
export const origin = process.env.ORIGIN || 'http://localhost:5000';
|
2019-01-06 02:03:10 +00:00
|
|
|
|
|
|
|
export const secretKey = process.env.SECRET_KEY;
|
|
|
|
|
|
|
|
invariant(secretKey, 'Missing $SECRET_KEY environment variable');
|