diff --git a/html/account-create.ejs b/html/account-create.ejs index 96cf455..e8dfa31 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