finalized routes

This commit is contained in:
Alex
2025-03-01 09:56:38 +01:00
parent 309e3a9d1e
commit 91787b616e
8 changed files with 26 additions and 42 deletions

View File

@@ -6,7 +6,7 @@ import { userDatesFromRFC3339, refreshCookie } from '$lib/utils/helpers';
export async function load({ cookies, fetch, locals }) {
const jwt = cookies.get('jwt');
try {
const response = await fetch(`${BASE_API_URI}/backend/users/all`, {
const response = await fetch(`${BASE_API_URI}/auth/users/`, {
credentials: 'include',
headers: {
Cookie: `jwt=${jwt}`