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
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
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
})