import{R as r}from"./main.84523976.js";const o={}.VITE_API_URL||"/api",t=r.create({baseURL:o});t.defaults.headers.post["Content-Type"]="multipart/form-data";t.defaults.headers.put["Content-Type"]="multipart/form-data";t.interceptors.request.use(e=>{const a=window.localStorage.getItem("token");return e.headers&&(e.headers.Authorization=`Bearer ${a}`),e},e=>Promise.reject(e));export{t as i};
