1
0
Fork 0

Fix my homeserver being hard-coded

This commit is contained in:
Cadence Ember 2023-09-12 20:43:56 +12:00
parent acee80ce52
commit 714c31d230
7 changed files with 15 additions and 9 deletions

View file

@ -8,7 +8,7 @@ const { sync } = passthrough
/** @type {import("./read-registration")} */
const reg = sync.require("./read-registration.js")
const baseUrl = "https://matrix.cadence.moe/_matrix"
const baseUrl = `${reg.ooye.server_origin}/_matrix`
class MatrixServerError extends Error {
constructor(data, opts) {