aboutsummaryrefslogtreecommitdiff
path: root/config/config.js
blob: 5b29ec466a00252707a6db305c900026917e1eb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
'use strict';

const Getenv = require('getenv');

const internals = {};

/**
 * The main configuration object for Dead Drop. It will be used to
 * initialize all of the sub-components. It can extend any property of
 * the dead drop object.
 *
 * @memberof DeadDrop
 * @typedef {object} tConfiguration
 * @property {number} [port=1988] the port where the app will listen on
 */
module.exports = internals.Config = {
  port: Getenv.int('DEAD_DROP_PORT', 1988)
};