From 9feb35fa48c65ad404cd414bb4b9cda76a86b024 Mon Sep 17 00:00:00 2001 From: curly Date: Wed, 17 Jul 2024 19:25:07 -0600 Subject: update form onload --- src/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.js') 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()) { -- cgit v1.2.3