- eslint formating, e.g printWidth: 160

This commit is contained in:
Arno Kaimbacher 2023-01-18 12:02:08 +01:00
commit eb6476dfcb
28 changed files with 365 additions and 281 deletions

View file

@ -1,16 +1,26 @@
import { AxiosRequestConfig } from "axios";
import { AxiosRequestConfig, AxiosRequestHeaders } from "axios";
import { stringify } from "qs";
// let headers: AxiosRequestConfig['headers'] =
// headers['Content-Type'] = 'multipart/form-data';
export const axiosRequestConfiguration: AxiosRequestConfig = {
// responseType: "text",
// headers: {
// // "Content-Type": "text/plain",
// "Content-Type": "application/x-www-form-urlencoded",
// // "Content-Type": "application/x-www-form-urlencoded",
// // credentials: "same-origin",
// // "Access-Control-Allow-Credentials": "true",
// // "Access-Control-Allow-Origin": "*",
// },
headers: {
// "Content-Type": "text/plain",
//: AxiosHeaders | Partial<RawAxiosHeaders & MethodsHeaders & CommonHeaders> | undefined
"Content-Type": "application/x-www-form-urlencoded",
// "Content-Type": "application/x-www-form-urlencoded",
// credentials: "same-origin",
// "Access-Control-Allow-Credentials": "true",
// "Access-Control-Allow-Origin": "*",
},
// headers: {
// "Content-type": "application/json; charset=UTF-8",
// },
// paramsSerializer: {
// indexes: null, // by default: false
// },