1
Fork 0

add a rparamm

This commit is contained in:
ashley 2024-05-11 02:54:08 +00:00
parent 1735f548d6
commit b1f011f907

View file

@ -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"
}
</script>