From e84a700a8b0ceb6431c775c8afef89bd36eb6f55 Mon Sep 17 00:00:00 2001 From: bartool Date: Wed, 29 Oct 2025 19:56:56 +0100 Subject: [PATCH] refactor: switch baseURL back to API endpoint for consistency --- frontend/src/api/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/api/api.js b/frontend/src/api/api.js index 3f57dc8..c56a50a 100644 --- a/frontend/src/api/api.js +++ b/frontend/src/api/api.js @@ -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