Last active
February 27, 2020 02:21
-
-
Save nikasulo/0b6fd52b0e73b6f5c284265ec97bad05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from 'axios'; | |
export default axios.create({ | |
baseURL: `https://oluwadamilare-api.herokuapp.com`, | |
}); | |
export const APIHelpers = { | |
authorizationHeaders: (auth_token) => ( | |
{ | |
Authorization: auth_token, | |
"Content-Type": "application/json", | |
}), | |
projectImagePath: () => "project/images", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment