mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
10 lines
222 B
JavaScript
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 };
|