Files
luminic-front/src/plugins/axios.ts
Vladimir Voronin 7152611d28 fix
2024-10-24 18:53:53 +03:00

15 lines
306 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// src/plugins/axios.ts
import axios from 'axios';
// Создание экземпляра axios с базовым URL
const apiClient = axios.create({
baseURL: 'http://213.226.68.47:8000:8000/api/v1',
headers: {
'Content-Type': 'application/json',
}
});
export default apiClient;