We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e475d9 commit b7f1a91Copy full SHA for b7f1a91
src/templates/core/axios/sendRequest.hbs
@@ -16,6 +16,7 @@ export const sendRequest = async <T>(
16
data: body ?? formData,
17
method: options.method,
18
withCredentials: config.WITH_CREDENTIALS,
19
+ withXSRFToken: config.CREDENTIALS === 'include' ? config.WITH_CREDENTIALS : false,
20
cancelToken: source.token,
21
};
22
0 commit comments