unpkg/modules/config.js
2019-01-05 18:03:10 -08:00

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');