import axios from "@/config/axios"; import axios2 from "axios"; export const getCsrf = async () => { try { let url = `/csrf`; const res = await axios.get(url); return res.data; } catch (error) { console.log("error", error); return false; } };