refactor: switch baseURL back to API endpoint for consistency

This commit is contained in:
2025-10-29 19:56:56 +01:00
parent 6a70a4a6ae
commit e84a700a8b

View File

@@ -4,8 +4,8 @@ import router from '@/router'
import { useAuthStore } from '@/stores/authStore'
const api = axios.create({
// baseURL: '/odoo/api', // Twój backend
baseURL: 'http://localhost:8000', // Twój backend
baseURL: '/odoo/api', // Twój backend
// baseURL: 'http://localhost:8000', // Twój backend
})
// Request interceptor dodawanie tokena