mirror of
https://github.com/JonasunderscoreJones/dash.jonasjones.dev.git
synced 2025-10-23 06:29:19 +02:00
moved accounts backend to session lib
This commit is contained in:
parent
10cc36000c
commit
e5c9c351e7
3 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,5 @@
|
|||
export const ACCOUNTS_WORKER_URL = 'https://accounts.jonasjones.dev';
|
||||
|
||||
export function getSessionKey() {
|
||||
const match = document.cookie.match(/(^| )sessionKey=([^;]+)/);
|
||||
return match ? match[2] : null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue