import axios from "axios"; import { csrftoken } from "../utils/utils.js"; export const exoInstance = axios.create({ baseURL: `${process.env.NEXT_PUBLIC_HOST}/api/exos/`, headers: { "Content-Type": "application/json", Accept: "application/json", "Access-Control-Allow-Origin": "*", "X-CSRFToken": csrftoken != undefined ? csrftoken: '', }, });