frontend:adapted to new hooks

This commit is contained in:
$(pass /github/name)
2024-09-20 08:36:06 +02:00
parent 211cf1db3f
commit 0897361260

View File

@@ -14,7 +14,7 @@ export async function handle({ event, resolve }) {
// if there is no jwt load page as normal
return await resolve(event);
}
const response = await fetch(`${BASE_API_URI}/users/backend/current-user`, {
const response = await fetch(`${BASE_API_URI}/backend/users/current`, {
credentials: "include",
headers: {
Cookie: `jwt=${jwt}`,