EMAILOUT / frontend /src /lib /api.js
Seth
update
698ffee
raw
history blame contribute delete
210 Bytes
/** Browser cookie session + tenant APIs require credentials on same-origin / proxied /api calls. */
export function apiFetch(input, init = {}) {
return fetch(input, { credentials: 'include', ...init });
}