working on user lost for admin
This commit is contained in:
@@ -4,7 +4,6 @@ export const user = $state({
|
||||
})
|
||||
|
||||
export async function checkUser(){
|
||||
console.log('checkUser()');
|
||||
const url = `${location.protocol}//${location.host.replace('5173','8080')}/api/user/whoami`;
|
||||
const response = await fetch(url,{
|
||||
credentials: 'include'
|
||||
|
||||
Reference in New Issue
Block a user