This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/http-common/index.js

7 lines
137 B
JavaScript

import axios from 'axios'
let config = require('../../siteconfig.json')
export const HTTP = axios.create({
baseURL: config.API_URL
})