mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
problema muestra genericos que no
This commit is contained in:
8
httpdocs/assets/js/safekat/common/common.js
Normal file
8
httpdocs/assets/js/safekat/common/common.js
Normal file
@ -0,0 +1,8 @@
|
||||
export function getToken()
|
||||
{
|
||||
const scriptUrl = new URL(import.meta.url);
|
||||
const params = new URLSearchParams(scriptUrl.search);
|
||||
|
||||
const paramsObject = Object.fromEntries(params.entries());
|
||||
return paramsObject.token;
|
||||
}
|
||||
Reference in New Issue
Block a user