fix this finally
This commit is contained in:
parent
50f8d288a4
commit
459f17396b
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user