From 369d4054da379181a49d6e0c7f0daa57e9aa5c87 Mon Sep 17 00:00:00 2001 From: Matija Petrunic Date: Fri, 17 Apr 2020 10:06:41 +0200 Subject: [PATCH] Set DUMP_SESSION_KEYS as env variable --- src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.ts b/src/constants.ts index e9a8ee6..9b34786 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,6 +1,6 @@ export const NOISE_MSG_MAX_LENGTH_BYTES = 65535; export const NOISE_MSG_MAX_LENGTH_BYTES_WITHOUT_TAG = NOISE_MSG_MAX_LENGTH_BYTES - 16; -export const DUMP_SESSION_KEYS = false; +export const DUMP_SESSION_KEYS = process.env.DUMP_SESSION_KEYS;