From c42f7663500e767562fa73adbdb976203dd34eed Mon Sep 17 00:00:00 2001 From: Tristan Helmich Date: Tue, 6 Oct 2020 21:36:18 +0000 Subject: [PATCH] Make server configurable --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ea4b22a..da4bb1f 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,7 @@ try { // Create client object const client = sdk.createClient({ - baseUrl: 'https://matrix.org', + baseUrl: `https://${homeserver}`, accessToken: token, });