From 25b2781cf00adac38e4f2ccdab647c12edb63ef0 Mon Sep 17 00:00:00 2001 From: Ashley Date: Fri, 22 Dec 2023 17:17:20 +0000 Subject: [PATCH] add account create --- html/channel.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/channel.ejs b/html/channel.ejs index e23f0106..ce81f7bd 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -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 () {