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

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")) { if(!localStorage.getItem("UserID")) {
localStorage.setItem('UserID', `<%- userid %>`); localStorage.setItem('UserID', `<%- userid %>`);
<% db.set(`user.${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")) { if(localStorage.getItem("UserID")) {
location.href = "/my-acc?ID=" + localStorage.getItem("UserID") location.href = "/my-acc?ID=" + localStorage.getItem("UserID") + "&rparam=1"
} }
</script> </script>