fix uploads encoding (cyrilic)

This commit is contained in:
Dobromir Popov
2024-05-07 21:37:13 +03:00
parent 7b741afa06
commit 5c596cc7c2
3 changed files with 48 additions and 27 deletions

View File

@ -5,9 +5,10 @@ import { applyAuthTokenInterceptor } from 'axios-jwt';
const axiosInstance = axios.create({
baseURL: common.getBaseUrl(),
withCredentials: true,
// headers: {
// "Content-Type": "application/json",
// },
headers: {
// "Content-Type": "application/json",
"Content-Encoding": "utf-8"
},
});
// 2. Define token refresh function.