aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.js2
-rw-r--r--config/env.dist1
2 files changed, 3 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
diff --git a/config/env.dist b/config/env.dist
index 11f79f1..5686169 100644
--- a/config/env.dist
+++ b/config/env.dist
@@ -1 +1,2 @@
DEAD_DROP_REDIS_HOST=location_of_redis_server
+DEAD_DROP_TWILIO_ACCOUNT_SID=your_twilio_account_sid