11 lines
317 B
JavaScript
11 lines
317 B
JavaScript
import invariant from 'invariant';
|
|
|
|
export const npmRegistryURL =
|
|
process.env.NPM_REGISTRY_URL || 'https://registry.npmjs.org';
|
|
|
|
export const origin = process.env.ORIGIN || 'http://localhost:5000';
|
|
|
|
export const secretKey = process.env.SECRET_KEY;
|
|
|
|
invariant(secretKey, 'Missing $SECRET_KEY environment variable');
|