mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-26 05:48:38 +01:00
add account create
This commit is contained in:
parent
f288b85919
commit
25b2781cf0
1 changed files with 2 additions and 2 deletions
|
@ -1408,8 +1408,8 @@ 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 %>`;
|
||||
} else {
|
||||
// If user ID doesn't exist in localStorage, you can handle it as needed
|
||||
console.log("User ID not found in localStorage");
|
||||
// Optionally, you can set a default href or display an error message.
|
||||
anchor.href = "/account-create"
|
||||
// Optionally, you can set a default href or display an error message.
|
||||
}
|
||||
|
||||
document.getElementById('search').addEventListener('keyup', function () {
|
||||
|
|
Loading…
Reference in a new issue