Add v1 1220
This commit is contained in:
parent
695c886058
commit
c0f506b1be
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
export default async function validateAuthToken(authToken : string | undefined) : Promise<boolean | undefined>
|
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 : {
|
let data : {
|
||||||
success : boolean,
|
success : boolean,
|
||||||
} = await (await fetch(process.env.NEXT_PUBLIC_API_BASE+"/api/auth?authToken="+authToken)).json()
|
} = await (await fetch(process.env.NEXT_PUBLIC_API_BASE+"/api/auth?authToken="+authToken)).json()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user