From b1f011f9079c0130ddfa8e6a1c71cb544fda2b26 Mon Sep 17 00:00:00 2001 From: ashley Date: Sat, 11 May 2024 02:54:08 +0000 Subject: [PATCH] add a rparamm --- html/account-create.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/account-create.ejs b/html/account-create.ejs index 96cf455e..e8dfa317 100644 --- a/html/account-create.ejs +++ b/html/account-create.ejs @@ -63,10 +63,10 @@ var apiurl = "https://poketube.fun/api" if(!localStorage.getItem("UserID")) { localStorage.setItem('UserID', `<%- userid %>`); <% db.set(`user.${userid}`, userid) %> - location.href = "/my-acc?ID=" + `<%- userid %>` + location.href = "/my-acc?ID=" + `<%- userid %>` + "&rparam=1" } if(localStorage.getItem("UserID")) { - location.href = "/my-acc?ID=" + localStorage.getItem("UserID") + location.href = "/my-acc?ID=" + localStorage.getItem("UserID") + "&rparam=1" } \ No newline at end of file