mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 20:32:50 +02:00
Support alternate Discord hosts
This commit is contained in:
parent
9c3f1abd3a
commit
1d7ec4315e
3 changed files with 9 additions and 1 deletions
|
@ -1,8 +1,12 @@
|
|||
// @ts-check
|
||||
|
||||
const { SnowTransfer } = require("snowtransfer")
|
||||
const registration = require("../matrix/read-registration")
|
||||
const { Endpoints, SnowTransfer } = require("snowtransfer")
|
||||
const { Client: CloudStorm } = require("cloudstorm")
|
||||
|
||||
// @ts-ignore
|
||||
Endpoints.BASE_HOST = registration.ooye.discord_origin; Endpoints.CDN_URL = registration.ooye.discord_cdn_origin
|
||||
|
||||
const passthrough = require("../passthrough")
|
||||
const { sync } = passthrough
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue