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 +++- src/user/update/index.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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()) { diff --git a/src/user/update/index.html b/src/user/update/index.html index 0ec244b..b63448f 100644 --- a/src/user/update/index.html +++ b/src/user/update/index.html @@ -5,7 +5,7 @@ UPDATE INFO - +
-- cgit v1.2.3