import axios from "axios"
import { API_URL } from "../config";

// Base URL used by all requests
const baseUrl = API_URL;

// Create the axios object
const repo = axios.create({
    baseURL: baseUrl,
});

repo.defaults.headers.post["access-control-allow-origin"] = "*";

export default repo;
