From 029467aa591440c2c2106a8acafd04fc750fa356 Mon Sep 17 00:00:00 2001 From: starnakin Date: Mon, 13 Nov 2023 13:32:11 +0100 Subject: [PATCH] clean --- src/client.js | 8 -------- 1 file changed, 8 deletions(-) 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) { /**