Use origin as the server to connect to

This commit is contained in:
J. Ryan Stinnett
2021-07-05 14:51:49 +01:00
parent 1e051365b1
commit 9d1bed29b2

View File

@@ -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";