vikunja-frontend/src/http-common/index.js

7 lines
153 B
JavaScript
Raw Normal View History

import axios from 'axios'
2018-09-08 21:19:46 +02:00
let config = require('../../public/config.json')
export const HTTP = axios.create({
2018-09-08 21:19:46 +02:00
baseURL: config.VIKUNJA_API_BASE_URL
})