CORS set up
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const API_URL = 'http://localhost:3002/api';
|
||||
const API_URL = '/api';
|
||||
|
||||
export const getAuthToken = () => localStorage.getItem('token');
|
||||
export const setAuthToken = (token: string) => localStorage.setItem('token', token);
|
||||
|
||||
Reference in New Issue
Block a user