Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
export function parseToken(input?: any): string { | |
try { | |
return (decodeURIComponent(`${input || ""}`).split("Bearer").pop() || "").trim() | |
} catch (err) { | |
return "" | |
} | |
} | |