Files
karma/ui/src/Common/Fetch.js
2019-11-14 13:20:45 +00:00

10 lines
222 B
JavaScript

import merge from "lodash.merge";
const FetchWithCredentials = async (uri, options) =>
await fetch(
uri,
merge({}, { credentials: "include", redirect: "follow" }, options)
);
export { FetchWithCredentials };