From 3ba20251613e9ee399b37c5cdc06bae13d521032 Mon Sep 17 00:00:00 2001 From: Steven Hoelscher Date: Tue, 14 Jul 2020 16:21:32 -0700 Subject: [PATCH] Change default value for COMMUTER_S3_ENDPOINT from empty string to null --- src/backend/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/config.js b/src/backend/config.js index 89041308..a8fa7e22 100644 --- a/src/backend/config.js +++ b/src/backend/config.js @@ -42,7 +42,7 @@ function populateS3Options(env): Object { .replace(/\/+$/, ""); const s3Endpoint = - env.COMMUTER_S3_ENDPOINT || ""; + env.COMMUTER_S3_ENDPOINT || null; // only interpret "true" as true otherwise false const s3ForcePathStyle = /^true$/i.test(