Use origin as the server to connect to
This commit is contained in:
parent
1e051365b1
commit
9d1bed29b2
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ function sleep(ms) {
|
|||
async function autoRegister() {
|
||||
console.log("dendrite: Auto-registration in progress");
|
||||
const cli = Matrix.createClient({
|
||||
baseUrl: "https://p2p.riot.im",
|
||||
baseUrl: window.location.origin,
|
||||
});
|
||||
const password = "this should be really really secure";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue