Make server configurable

This commit is contained in:
Tristan Helmich 2020-10-06 21:36:18 +00:00
parent 0d080391a7
commit c42f766350

View File

@ -18,7 +18,7 @@ try {
// Create client object // Create client object
const client = sdk.createClient({ const client = sdk.createClient({
baseUrl: 'https://matrix.org', baseUrl: `https://${homeserver}`,
accessToken: token, accessToken: token,
}); });