Skip to content
Snippets Groups Projects
Verified Commit 1945908b authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Document.

parent 4b41c261
No related branches found
No related tags found
2 merge requests!69Possibility to insert a reservation and new docs.,!67Insert a reservation and search by senior.
Pipeline #13256 failed
......@@ -6,5 +6,6 @@ import axios from 'axios';
export const configDjangoCookieName = (): void => {
axios.defaults.xsrfHeaderName = 'X-CSRFTOKEN';
axios.defaults.xsrfCookieName = 'csrftoken';
/** Set cookie to each request header by default. Avoids inserting it into the body each time. */
axios.defaults.withCredentials = true;
};
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