mirror of
https://github.com/pawelmalak/flame.git
synced 2026-02-28 09:23:12 +08:00
5 lines
144 B
TypeScript
5 lines
144 B
TypeScript
export const applyAuth = () => {
|
|
const token = localStorage.getItem('token') || '';
|
|
return { 'Authorization-Flame': `Bearer ${token}` };
|
|
};
|