Merge remote-tracking branch 'origin/master'
All checks were successful
camelia / deploy (push) Successful in 45s

This commit is contained in:
Esenjin 2024-12-20 13:27:53 +01:00
commit b81f701289
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
const CALENDAR_PREFIX = "DofusÉvent"; const CALENDAR_PREFIX = "DofusEvent";
const DISCORD_BASE_INVITE = "https://discord.gg/nBuZ9vJ"; const DISCORD_BASE_INVITE = "https://discord.gg/nBuZ9vJ";
@ -75,7 +75,7 @@ function createCard(evt, parent) {
document.addEventListener('readystatechange', async function() { document.addEventListener('readystatechange', async function() {
if (document.readyState === "complete") { if (document.readyState === "complete") {
const events = await fetch('https://corsproxy.io/?https://git.crystalyx.net/camelia-studio/Camelianimes-Datas/raw/branch/datas/events.json') const events = await fetch('https://api.codetabs.com/v1/proxy/?quest=https://git.crystalyx.net/camelia-studio/Camelianimes-Datas/raw/branch/datas/events.json')
.then(res => res.json()) .then(res => res.json())
.catch((err) => { .catch((err) => {
console.error(err); console.error(err);

View File

@ -75,7 +75,7 @@ function createCard(evt, parent) {
document.addEventListener('readystatechange', async function() { document.addEventListener('readystatechange', async function() {
if (document.readyState === "complete") { if (document.readyState === "complete") {
const events = await fetch('https://corsproxy.io/?https://git.crystalyx.net/camelia-studio/Camelianimes-Datas/raw/branch/datas/events.json') const events = await fetch('https://api.codetabs.com/v1/proxy/?quest=https://git.crystalyx.net/camelia-studio/Camelianimes-Datas/raw/branch/datas/events.json')
.then(res => res.json()) .then(res => res.json())
.catch((err) => { .catch((err) => {
console.error(err); console.error(err);