Add v1 1220

This commit is contained in:
yznahmad 2025-06-26 23:29:47 +03:00
parent 695c886058
commit c0f506b1be

View File

@ -6,6 +6,7 @@
export default async function validateAuthToken(authToken : string | undefined) : Promise<boolean | undefined>
{
console.log("----------NEXT_PUBLIC_API_BASE : " , process.env.NEXT_PUBLIC_API_BASE)
let data : {
success : boolean,
} = await (await fetch(process.env.NEXT_PUBLIC_API_BASE+"/api/auth?authToken="+authToken)).json()