Skip to content
Snippets Groups Projects
Commit 26f42cd7 authored by Chris Lawton's avatar Chris Lawton
Browse files

adds credentials to fetch so the cookie is set in the headers and the fetch...

adds credentials to fetch so the cookie is set in the headers and the fetch works successfully in safari
parent b8a5f4e5
No related branches found
No related tags found
No related merge requests found
......@@ -15,5 +15,6 @@ export async function apiFetch(path, method = 'GET', params, options) {
...options,
method,
mode: 'same-origin',
credentials: 'include'
});
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment