From f73cd054ab841a19b42926a9fadae90d640bee67 Mon Sep 17 00:00:00 2001 From: Alexis Janvier Date: Thu, 7 Nov 2019 22:34:56 +0100 Subject: [PATCH] Add default path for recordingsPath in tmp folder --- src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index 50d9745..52ec81f 100644 --- a/src/config.js +++ b/src/config.js @@ -87,7 +87,7 @@ const config = convict({ recordingsPath: { doc: 'path to the main recording folder', format: String, - default: globalConfiguration.recordingsPath, + default: globalConfiguration.recordingsPath || '/tmp/webmyna', env: 'WEB_MYNA_RECORDINGS_PATH', }, });