Files
edr-platform/apps/edr-freight-web/backoffice/public/_um/assets/presignedAxios-BChDCNPv.js
2026-06-20 09:52:24 +03:00

2 lines
256 B
JavaScript

import{be as r,p as s}from"./index-7T7TTikv.js";const a=r.create({headers:{},transformRequest:[e=>e],validateStatus:e=>e<400});a.interceptors.request.use(e=>{const t=s.get("auth-token");return t&&(e.headers.Authorization=`Bearer ${t}`),e});export{a as p};