From 9d1bed29b2d8ec56d3f1d7f3385369cfc2e3189e Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Mon, 5 Jul 2021 14:51:49 +0100 Subject: [PATCH] Use origin as the server to connect to --- src/vector/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector/app.js b/src/vector/app.js index 57bb8481e8..6f44694893 100644 --- a/src/vector/app.js +++ b/src/vector/app.js @@ -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";