fix: setting the cookie for proxy setup

This commit is contained in:
Lakhan Samani
2022-03-30 11:50:22 +05:30
parent fe73c2f6f8
commit 4fa9f79c3f
6 changed files with 36 additions and 17 deletions

View File

@@ -10,6 +10,9 @@ const queryClient = createClient({
fetchOptions: () => {
return {
credentials: 'include',
headers: {
'x-authorizer-url': window.location.origin,
},
};
},
requestPolicy: 'network-only',