Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import axios from 'axios'
- const index = {
- key: '',
- AUTH_TOKEN: 'X~[Pkj@wl|Lb52B?w=GDC3l5e(?J*^s9Ln[NcaeC*(icFq9go!>}fgTX@pCh2l@f',
- baseURL: 'http://localhost:3015/',
- months: [
- 'January',
- 'February',
- 'March',
- 'April',
- 'May',
- 'June',
- 'July',
- 'August',
- 'September',
- 'October',
- 'November',
- 'December',
- ],
- }
- export default index
- export const remote = axios.create({
- baseURL: index.baseURL,
- headers: {
- Authentication: index.AUTH_TOKEN,
- },
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement