mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-11 09:32:51 +00:00
client - wip user account page
This commit is contained in:
@@ -40,7 +40,7 @@ export const initializeAxios = (): Promise<void> => {
|
||||
|
||||
|
||||
export function setAuthorizationHeader(jwt: string): void {
|
||||
ax.defaults.headers.common['Authorization'] = jwt;
|
||||
ax.defaults.headers.common['Authorization'] = `Bearer ${jwt}`;
|
||||
}
|
||||
|
||||
export function resetAuthorizationHeader(): void {
|
||||
|
||||
Reference in New Issue
Block a user