mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 13:58:13 +01:00
i am so dumbrefyery
This commit is contained in:
parent
0a4fdbfa80
commit
e6219171b9
1 changed files with 1 additions and 1 deletions
|
@ -1810,7 +1810,7 @@ var userID = localStorage.getItem("UserID");
|
||||||
|
|
||||||
if (userID) {
|
if (userID) {
|
||||||
// If user ID exists in localStorage, set the href attribute
|
// If user ID exists in localStorage, set the href attribute
|
||||||
anchor.href = `/api/set-channel-subs?ID=${userID}&channelName=<%=k.Video.Channel.Name%>&avatar=<%- media_proxy_url %>/<%= k.Video.Channel.Avatar[1].$t %>&channelID=<%=video?.Channel.id || k.Video.Channel.id %>`;
|
anchor.href = `/api/set-channel-subs?ID=${userID}&channelName=<%=k.Video.Channel.Name%>&avatar=<%- media_proxy_url %>?proxy=<%= k.Video.Channel.Avatar[1].$t %>&channelID=<%=video?.Channel.id || k.Video.Channel.id %>`;
|
||||||
} else {
|
} else {
|
||||||
anchor.href = "/account-create"
|
anchor.href = "/account-create"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue