fix: login sessions

This commit is contained in:
Andy Burke 2025-07-04 14:51:49 -07:00
parent dc91d0ab8c
commit cf46450f5f
11 changed files with 179 additions and 27 deletions

View file

@ -27,6 +27,7 @@
/* check if we are logged in */
(async () => {
try {
console.log( 'hi');
const session_response = await api.fetch("/users/me");
if (!session_response.ok) {