Fix my homeserver being hard-coded
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user