diff --git a/html/channel.ejs b/html/channel.ejs index f7360f60..7b038115 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -1668,7 +1668,7 @@ var userID = localStorage.getItem("UserID"); if (userID) { // If user ID exists in localStorage, set the href attribute - anchor.href = `/api/set-channel-subs?ID=${userID}&channelName=<%=cinv.author%>&avatar=https://p.poketube.fun/<%- j.Channel?.Metadata.Avatars.Thumbnail?.$t %>&channelID=<%= ID %>`; + anchor.href = `/api/set-channel-subs?ID=${userID}&channelName=<%=cinv.author%>&avatar=<%- media_proxy_url %>/proxy?url=<%- cinv.authorThumbnails[5].url %>&channelID=<%= ID %>`; } else { // If user ID doesn't exist in localStorage, you can handle it as needed anchor.href = "/account-create"