1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 01:14:38 -05:00

add account create

This commit is contained in:
Ashley 2023-12-22 17:17:20 +00:00
parent f288b85919
commit 25b2781cf0

View file

@ -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 () {