added api key

This commit is contained in:
pepper 2021-01-19 19:55:17 -05:00
parent 5bafe0e1a2
commit 0ef729256f

View File

@ -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}
});