removed bitly integration

This commit is contained in:
Abhinav Adduri 2017-06-22 15:32:52 -07:00
parent ab82700b0d
commit 60fd36a58e
3 changed files with 6 additions and 33 deletions

View file

@ -1,11 +1,6 @@
const convict = require('convict');
const conf = convict({
bitly_key: {
format: String,
default: 'localhost',
env: 'P2P_BITLY_KEY'
},
s3_bucket: {
format: String,
default: 'localhost',
@ -47,5 +42,4 @@ module.exports = props;
module.exports.notLocalHost =
props.env === 'production' &&
props.s3_bucket !== 'localhost' &&
props.bitly_key !== 'localhost';
props.s3_bucket !== 'localhost';