blob: 198a3d46b887766b061a7f771cf7b3a2f823e3c7 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
import axios from 'axios';
const baseURL = 'http://localhost:5001/api';
export const get = async () => await axios.get(`${baseURL}/`);
export const increment = async () => await axios.post(`${baseURL}/`);
export default {
get,
increment,
};
|