diff --git a/js/single.js b/js/single.js index d0399cd..dd033c5 100644 --- a/js/single.js +++ b/js/single.js @@ -170,14 +170,14 @@ if (!email) { } const avatarUrl = `https://download.xn--xhq44jb2fzpc.com/user/${email}/avatar`; -const defaultAvatarUrl = "https://download.xn--xhq44jb2fzpc.com/avatar/default.png"; +const defaultAvatarUrl = "https://download.xn--xhq44jb2fzpc.com/avatar/default.png?x-oss-process=style/avatar_comp"; try { const response = await fetchNoCache(avatarUrl); const timestamp = new Date().getTime(); if (response.ok) { // 保证头像实时更新 - document.getElementById('avatar').src = `${avatarUrl}?timestamp=${timestamp}`; + document.getElementById('avatar').src = `${avatarUrl}?timestamp=${timestamp}?x-oss-process=style/avatar_comp`; document.getElementById('avatar').style.display = "block"; console.log("Avatar updated."); } else if (response.status === 404) { diff --git a/rapidlinks/快速链接/index.html b/rapidlinks/快速链接/index.html index c03e897..d269f27 100644 --- a/rapidlinks/快速链接/index.html +++ b/rapidlinks/快速链接/index.html @@ -425,7 +425,7 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +