From 1ab63aa395859815871c4e1e62dda6e9ca66595f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Fri, 1 Nov 2019 10:29:55 +0100 Subject: [PATCH] examples: support COMPANION_AWS_ENDPOINT env var in aws+companion example --- examples/aws-companion/server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/aws-companion/server.js b/examples/aws-companion/server.js index e5a9ffd41e..985d504897 100644 --- a/examples/aws-companion/server.js +++ b/examples/aws-companion/server.js @@ -28,7 +28,8 @@ const options = { key: process.env.COMPANION_AWS_KEY || process.env.UPPYSERVER_AWS_KEY, secret: process.env.COMPANION_AWS_SECRET || process.env.UPPYSERVER_AWS_SECRET, bucket: process.env.COMPANION_AWS_BUCKET || process.env.UPPYSERVER_AWS_BUCKET, - region: process.env.COMPANION_AWS_REGION || process.env.UPPYSERVER_AWS_REGION + region: process.env.COMPANION_AWS_REGION || process.env.UPPYSERVER_AWS_REGION, + endpoint: process.env.COMPANION_AWS_ENDPOINT } }, server: { host: 'localhost:3020' },