This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/website/config/api.js

11 lines
201 B
JavaScript
Raw Normal View History

import axios from 'axios';
import { API_URL } from './config';
const api = axios.create({
baseURL: API_URL,
headers: {
'Content-Type': 'application/json'
}
});
export default api;