mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 19:10:47 +02:00
# Description of Changes Move frontend code into `core` folder and add infrastructure for `proprietary` folder to include premium, non-OSS features
5 lines
169 B
TypeScript
5 lines
169 B
TypeScript
export function useRequestHeaders(): HeadersInit {
|
|
const token = localStorage.getItem('stirling_jwt');
|
|
return token ? { 'Authorization': `Bearer ${token}` } : {};
|
|
}
|