fixed messinging

This commit is contained in:
2026-04-05 00:59:38 -05:00
parent eb1ca87277
commit 7db049187a
3 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -88,7 +88,7 @@
</main>
<script src="app.js"></script>
<script>
const TESTING_MODE = true;
const TESTING_MODE = false;
const BASE = TESTING_MODE ? 'http://127.0.0.1:8090/fedl' : 'https://raspberrypi-1.tail46eacb.ts.net/fedl';
const AUTH_TOKEN_KEY = 'fedl_auth_token';
let currentUser = null;
@@ -231,6 +231,10 @@
userDropdown.hidden = true;
});
});
} else if (res.data && res.data.error) {
console.error('User search error:', res.data.error);
userDropdown.innerHTML = '<div style="padding:10px;color:var(--muted)">Error: ' + res.data.error + '</div>';
userDropdown.hidden = false;
}
});
+1 -1
View File
@@ -122,7 +122,7 @@
</main>
<script>
const TESTING_MODE = true;
const TESTING_MODE = false;
const BASE = TESTING_MODE ? 'http://127.0.0.1:8090/fedl' : 'https://raspberrypi-1.tail46eacb.ts.net/fedl';
const AUTH_TOKEN_KEY = 'fedl_auth_token';
let currentUser = null;
+1
View File
@@ -0,0 +1 @@
[]