diff options
author | curly <curly@infernal.garden> | 2024-07-17 19:25:07 -0600 |
---|---|---|
committer | curly <curly@infernal.garden> | 2024-07-17 19:25:07 -0600 |
commit | 9feb35fa48c65ad404cd414bb4b9cda76a86b024 (patch) | |
tree | 42d1d2c86fc5dc47381c10724495145a5e9ecc01 /src/main.js | |
parent | 9bb0eef3951e39a9e86a80a68f3158f08305aa20 (diff) | |
download | poko_web-9feb35fa48c65ad404cd414bb4b9cda76a86b024.tar.gz poko_web-9feb35fa48c65ad404cd414bb4b9cda76a86b024.tar.bz2 poko_web-9feb35fa48c65ad404cd414bb4b9cda76a86b024.zip |
update form onload
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js index d6705ad..c7f42bc 100644 --- a/src/main.js +++ b/src/main.js @@ -1,4 +1,4 @@ -const server = window.location.protocol + "//" + window.location.hostname + ":8000"; +const server = window.location.protocol + "//" + window.location.hostname + ":9050"; const host = window.location.protocol + "//" + window.location.host; const client_id = "POKO Web 0.0" @@ -358,6 +358,8 @@ window.onload = async function() { await user() } else if (window.location.pathname == "/admin/regkeys/") { await regkeys() + } else if (window.location.pathname == "/user/update/") { + await update_form_onload() } if (await is_admin()) { |