improve offloading

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-12-25 10:24:02 +00:00
parent 76aae17e6f
commit 0b1e6d2d3c
8 changed files with 47 additions and 15 deletions
+2 -2
View File
@@ -46,8 +46,8 @@ function forceLogin() {
})
.then(async (res) => {
const json = await res.json();
let txt = ''
if (res.status === 200) txt = 'login verified'
let txt = '';
if (res.status === 200) txt = 'login verified';
else txt = `${res.status}: ${res.statusText} - ${json.detail}`;
status.textContent = txt;
console.log('login', txt);