Added basic classes to handle http/auth/routing
This commit is contained in:
6
src/http-common/index.js
Normal file
6
src/http-common/index.js
Normal file
@ -0,0 +1,6 @@
|
||||
import axios from 'axios'
|
||||
let config = require('../../siteconfig.json')
|
||||
|
||||
export const HTTP = axios.create({
|
||||
baseURL: config.API_URL
|
||||
})
|
Reference in New Issue
Block a user