diff --git a/src/client.js b/src/client.js index 99e603c..9ff581d 100644 --- a/src/client.js +++ b/src/client.js @@ -1,13 +1,6 @@ import axios from "axios"; -axios.defaults.xsrfCookieName = 'csrftoken'; -axios.defaults.xsrfHeaderName = 'X-CSRFToken'; axios.defaults.withCredentials = true; -/** - * return the token from response - * - * @param {Response} response - The reponse -*/ class Client { @@ -16,7 +9,6 @@ class Client * * @param {string} url - The url of the backend */ - constructor(url) { /**