clean
This commit is contained in:
parent
6ea2f25f7f
commit
029467aa59
@ -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)
|
||||
{
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user