forked from cadence/out-of-your-element
Fix my homeserver being hard-coded
This commit is contained in:
parent
acee80ce52
commit
714c31d230
7 changed files with 15 additions and 9 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue