Something went wrong. Try again.
my (programming) language guessing game!
Something went wrong. Try again.
123456789101112import { PUBLIC_API_URL } from '$env/static/public';import { jwt } from './auth.js';
export const loadSession = async () => await ( await fetch(`${PUBLIC_API_URL}/session`, { headers: { Authorization: `Bearer ${jwt}` } }) ).json();