added api key
This commit is contained in:
parent
5bafe0e1a2
commit
0ef729256f
@ -2,6 +2,8 @@ import axios from "axios";
|
||||
|
||||
// Axios create, exporting callAPI
|
||||
|
||||
|
||||
export const callAPI = axios.create({
|
||||
baseURL: process.env.REACT_APP_API_ADDRESS,
|
||||
headers: {'Authorization': "Api-Key " + process.env.REACT_APP_API_KEY}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user