mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 14:43:03 -04:00
New Domain Equicord.org
This commit is contained in:
parent
242d863a12
commit
f51340778d
5 changed files with 5 additions and 5 deletions
|
@ -114,7 +114,7 @@ const DefaultSettings: Settings = {
|
||||||
|
|
||||||
cloud: {
|
cloud: {
|
||||||
authenticated: false,
|
authenticated: false,
|
||||||
url: "https://cloud.equicord.fyi/",
|
url: "https://cloud.equicord.org/",
|
||||||
settingsSync: false,
|
settingsSync: false,
|
||||||
settingsSyncVersion: 0
|
settingsSyncVersion: 0
|
||||||
},
|
},
|
||||||
|
|
|
@ -40,7 +40,7 @@ interface BadgeCache {
|
||||||
let badgeImages;
|
let badgeImages;
|
||||||
|
|
||||||
// const API_URL = "https://clientmodbadges-api.herokuapp.com/";
|
// const API_URL = "https://clientmodbadges-api.herokuapp.com/";
|
||||||
const API_URL = "https://globalbadges.equicord.fyi/";
|
const API_URL = "https://globalbadges.equicord.org/";
|
||||||
|
|
||||||
const cache = new Map<string, BadgeCache>();
|
const cache = new Map<string, BadgeCache>();
|
||||||
const EXPIRES = 1000 * 60 * 15;
|
const EXPIRES = 1000 * 60 * 15;
|
||||||
|
|
|
@ -195,7 +195,7 @@ function registerStyleChange(style) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function setIsUserCustomCapable() {
|
async function setIsUserCustomCapable() {
|
||||||
const allowList: string[] = await fetch("https://equicord.fyi/quoter").then(e => e.json()); // Override for memes - IF THIS IS ABUSED WILL WE TAKEN AWAY
|
const allowList: string[] = await fetch("https://equicord.org/quoter").then(e => e.json()); // Override for memes - IF THIS IS ABUSED WILL WE TAKEN AWAY
|
||||||
isUserCustomCapable = allowList.includes(UserStore.getCurrentUser().id);
|
isUserCustomCapable = allowList.includes(UserStore.getCurrentUser().id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ const settings = definePluginSettings({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "UserPFP Backup DB",
|
label: "UserPFP Backup DB",
|
||||||
value: "https://userpfp.equicord.fyi/data.json"
|
value: "https://userpfp.equicord.org/data.json"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,7 +64,7 @@ async function loadBadges(url: string, noCache = false) {
|
||||||
|
|
||||||
async function loadAllBadges(noCache = false) {
|
async function loadAllBadges(noCache = false) {
|
||||||
const vencordBadges = await loadBadges("https://badges.vencord.dev/badges.json", noCache);
|
const vencordBadges = await loadBadges("https://badges.vencord.dev/badges.json", noCache);
|
||||||
const equicordBadges = await loadBadges("https://equicord.fyi/badges", noCache);
|
const equicordBadges = await loadBadges("https://equicord.org/badges", noCache);
|
||||||
|
|
||||||
DonorBadges = vencordBadges;
|
DonorBadges = vencordBadges;
|
||||||
EquicordDonorBadges = equicordBadges;
|
EquicordDonorBadges = equicordBadges;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue