mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 20:01:58 +00:00
Use origin as the server to connect to
This commit is contained in:
+1
-1
@@ -362,7 +362,7 @@ function sleep(ms) {
|
|||||||
async function autoRegister() {
|
async function autoRegister() {
|
||||||
console.log("dendrite: Auto-registration in progress");
|
console.log("dendrite: Auto-registration in progress");
|
||||||
const cli = Matrix.createClient({
|
const cli = Matrix.createClient({
|
||||||
baseUrl: "https://p2p.riot.im",
|
baseUrl: window.location.origin,
|
||||||
});
|
});
|
||||||
const password = "this should be really really secure";
|
const password = "this should be really really secure";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user