Skip to content

Commit

Permalink
Make server configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
fadenb committed Oct 6, 2020
1 parent 0d08039 commit c42f766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ try {

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

Expand Down

0 comments on commit c42f766

Please sign in to comment.