added BASE_URL environment variable

This commit is contained in:
Danny Coates 2017-08-11 14:02:44 -07:00
parent dafe00cabb
commit c488c1d724
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
3 changed files with 11 additions and 16 deletions

View file

@ -51,6 +51,11 @@ const conf = convict({
format: Boolean,
default: false,
env: 'L10N_DEV'
},
base_url: {
format: 'url',
default: 'https://send.firefox.com',
env: 'BASE_URL'
}
});