@ -18,7 +18,7 @@ const profile = {
|
||||
id: '1',
|
||||
fullName: 'Jordan Knott',
|
||||
username: 'jordanthedev',
|
||||
profileIcon: { url: 'http://localhost:3333/uploads/headshot.png', bgColor: '#000', initials: 'JK' },
|
||||
profileIcon: { url: '/uploads/headshot.png', bgColor: '#000', initials: 'JK' },
|
||||
};
|
||||
export const Default = () => {
|
||||
return (
|
||||
|
@ -8,7 +8,7 @@ export function getAccessToken() {
|
||||
}
|
||||
|
||||
export async function getNewToken() {
|
||||
return fetch('http://localhost:3333/auth/refresh_token', {
|
||||
return fetch('/auth/refresh_token', {
|
||||
method: 'POST',
|
||||
credentials: 'include',
|
||||
}).then(x => {
|
||||
|
Reference in New Issue
Block a user