fix: login sessions
This commit is contained in:
parent
dc91d0ab8c
commit
cf46450f5f
11 changed files with 179 additions and 27 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue