mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 22:30:55 +00:00
2 lines
256 B
JavaScript
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};
|