import Axios from "axios";

const  appUrl =process.env.NEXT_PUBLIC_FRONTEND_URL;
const axios = Axios.create({
    baseURL: process.env.NEXT_PUBLIC_BACKEND_URL,
    headers: {
        'X-Requested-With': 'XMLHttpRequest',
        // Accept: 'application/json',
        'Content-Type': 'application/json',
        'domain-name' : appUrl
        
    },
    withCredentials: true,
    withXSRFToken: true

});





export default axios;