diff options
| author | Rubén Beltrán del Río <ben@nsovocal.com> | 2017-02-19 01:59:26 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-19 01:59:26 -0600 |
| commit | e5fdb2d460feed6beda8cac764b15f173b67159d (patch) | |
| tree | 8dd6321a5966b29c69d9750495dc9b72bfdceb8b /config/config.js | |
| parent | 7404eac982a0d928866aeddaa1a0ea4d1f2d3870 (diff) | |
Check the Account SID (#3)
* Add twilio config to readme
* Modify wording of main menu.
* Modify wording of recording message
* Add account sid setting to readme
* Add the twilio account sid to config
* Add check for accountSid
* Update paw to send AccountSid
Diffstat (limited to 'config/config.js')
| -rw-r--r-- | config/config.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.js b/config/config.js index 16e9a9f..b1a1fac 100644 --- a/config/config.js +++ b/config/config.js @@ -12,11 +12,13 @@ const internals = {}; * @memberof DeadDrop * @typedef {object} tConfiguration * @property {number} [port=1988] the port where the app will listen on + * @property {string} twilioAccountSid the twilio account sid used to authorize calls * @property {DeadDrop.tRedisConfiguration} redis the configuration to * connect to the redis server */ module.exports = internals.Config = { port: Getenv.int('DEAD_DROP_PORT', 1988), + twilioAccountSid: Getenv('DEAD_DROP_TWILIO_ACCOUNT_SID'), /** * Information required to connect to the redis server |