* fix(security): harden auth and credential handling (HH-444) * fix(security): address HH-444 review blockers * fix(security): close remaining HH-444 review blockers --------- Co-authored-by: Rogee <rogee@ipao.vip>
7 lines
188 B
JavaScript
7 lines
188 B
JavaScript
import axios from 'axios';
|
|
|
|
const { apiHost = '' } = window.chatwootConfig || {};
|
|
const wootAPI = axios.create({ baseURL: `${apiHost}/`, withCredentials: true });
|
|
|
|
export default wootAPI;
|