From 4d973aa823eab7ced317366941e9a5921a773eb4 Mon Sep 17 00:00:00 2001 From: AdeyinkaOresanya Date: Mon, 2 Oct 2023 13:07:36 +0100 Subject: [PATCH] [REFACTOR]: refactor function smee in index.js to make it more dynamic Signed-off-by: Adeyinka Oresanya adeyinkaoresanya@gmail.com --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 821fc6f..cd0ede1 100644 --- a/index.js +++ b/index.js @@ -73,7 +73,7 @@ if (process.env.NODE_ENV === "development") { const SmeeClient = require("smee-client"); const smee = new SmeeClient({ - source: process.env.source, + source: process.env.smee_URL, target: `http://localhost:${process.env.PORT}`, logger: console, });