Advertisement
Guest User

Untitled

a guest
Jan 17th, 2020
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. import axios from 'axios'
  2.  
  3. const index = {
  4. key: '',
  5.  
  6. AUTH_TOKEN: 'X~[Pkj@wl|Lb52B?w=GDC3l5e(?J*^s9Ln[NcaeC*(icFq9go!>}fgTX@pCh2l@f',
  7.  
  8. baseURL: 'http://localhost:3015/',
  9.  
  10. months: [
  11. 'January',
  12. 'February',
  13. 'March',
  14. 'April',
  15. 'May',
  16. 'June',
  17. 'July',
  18. 'August',
  19. 'September',
  20. 'October',
  21. 'November',
  22. 'December',
  23. ],
  24. }
  25.  
  26. export default index
  27.  
  28. export const remote = axios.create({
  29. baseURL: index.baseURL,
  30. headers: {
  31. Authentication: index.AUTH_TOKEN,
  32. },
  33. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement