Skip to content

Commit

Permalink
Switch from mc-heads.net as a mojang api proxy to corsjang.b-cdn.net
Browse files Browse the repository at this point in the history
  • Loading branch information
MineGame159 committed Feb 22, 2024
1 parent 9d1bc2b commit d67cd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/account/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<h2>Minecraft</h2>
<ul>
{#each $user.mcAccounts as uuid}
{#await fetchJson("https://mc-heads.net/minecraft/profile/" + uuid)}
{#await fetchJson("https://corsjangsessionserver.b-cdn.net/session/minecraft/profile/" + uuid)}
<li><img src="https://mc-heads.net/head/MHF_Steve/32" alt="head">Steve<button>Remove</button></li>
{:then res}
<li><img src={"https://mc-heads.net/head/" + uuid + "/32"} alt="head">{res.name}<button on:click={() => removeMcAccount(uuid)}>Remove</button></li>
Expand Down

0 comments on commit d67cd39

Please sign in to comment.