finalized routes
This commit is contained in:
@@ -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}`
|
||||
|
||||
Reference in New Issue
Block a user