1
0

Added basic classes to handle http/auth/routing

This commit is contained in:
kolaente
2018-09-06 19:46:09 +02:00
parent f5f5c6f79c
commit fe86ce2fa8
8 changed files with 167 additions and 20 deletions

6
src/http-common/index.js Normal file
View File

@ -0,0 +1,6 @@
import axios from 'axios'
let config = require('../../siteconfig.json')
export const HTTP = axios.create({
baseURL: config.API_URL
})