mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-13 00:58:08 +01:00
add a rparamm
This commit is contained in:
parent
1735f548d6
commit
b1f011f907
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
Loading…
Reference in a new issue