mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 01:17:47 +01:00
add account create
This commit is contained in:
parent
f288b85919
commit
25b2781cf0
1 changed files with 2 additions and 2 deletions
|
@ -1408,7 +1408,7 @@ if (userID) {
|
||||||
anchor.href = `/api/set-channel-subs?ID=${userID}&channelName=<%=j.Channel?.Metadata.Name%>&avatar=https://p.poketube.fun/<%- j.Channel?.Metadata.Avatars.Thumbnail?.$t %>&channelID=<%= ID %>`;
|
anchor.href = `/api/set-channel-subs?ID=${userID}&channelName=<%=j.Channel?.Metadata.Name%>&avatar=https://p.poketube.fun/<%- j.Channel?.Metadata.Avatars.Thumbnail?.$t %>&channelID=<%= ID %>`;
|
||||||
} else {
|
} else {
|
||||||
// If user ID doesn't exist in localStorage, you can handle it as needed
|
// If user ID doesn't exist in localStorage, you can handle it as needed
|
||||||
console.log("User ID not found in localStorage");
|
anchor.href = "/account-create"
|
||||||
// Optionally, you can set a default href or display an error message.
|
// Optionally, you can set a default href or display an error message.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue