diff --git a/src/lib/components/misc/Skin3D.svelte b/src/lib/components/misc/Skin3D.svelte index 0f64b733d..dc35108d5 100644 --- a/src/lib/components/misc/Skin3D.svelte +++ b/src/lib/components/misc/Skin3D.svelte @@ -27,7 +27,7 @@ if (loadedUuid === uuid) return; canvasIsLoading = true; - const capeData = await ky(`https://mowojang.matdoes.dev/session/minecraft/profile/${uuid}`).json<{ properties: { name: string; value: string; signature?: string }[] }>(); + const capeData = await ky(`https://mowojang.seraph.si/session/minecraft/profile/${uuid}`).json<{ properties: { name: string; value: string; signature?: string }[] }>(); const texturesProperty = capeData.properties.find((prop) => prop.name === "textures"); if (!texturesProperty) { diff --git a/svelte.config.js b/svelte.config.js index 2e89ce3d6..64b6a181a 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -33,7 +33,7 @@ const config = { "worker-src": ["self", "blob:"], "style-src": ["self", "unsafe-inline", "https://fonts.googleapis.com"], "img-src": ["self", "data:", "https://textures.minecraft.net", "http://localhost:8080", "https://cupcake.shiiyu.moe", "https://sky.shiiyu.moe", "https://nmsr.nickac.dev"], - "connect-src": ["self", "https://mowojang.matdoes.dev", "http://localhost:8080", "https://cupcake.shiiyu.moe", "https://sky.shiiyu.moe"], + "connect-src": ["self", "https://mowojang.matdoes.dev", "https://mowojang.seraph.si", "http://localhost:8080", "https://cupcake.shiiyu.moe", "https://sky.shiiyu.moe"], "font-src": ["self", "https://fonts.gstatic.com"], "frame-ancestors": ["self"] }