refactor: switch baseURL back to API endpoint for consistency
This commit is contained in:
@@ -4,8 +4,8 @@ import router from '@/router'
|
|||||||
import { useAuthStore } from '@/stores/authStore'
|
import { useAuthStore } from '@/stores/authStore'
|
||||||
|
|
||||||
const api = axios.create({
|
const api = axios.create({
|
||||||
// baseURL: '/odoo/api', // Twój backend
|
baseURL: '/odoo/api', // Twój backend
|
||||||
baseURL: 'http://localhost:8000', // Twój backend
|
// baseURL: 'http://localhost:8000', // Twój backend
|
||||||
})
|
})
|
||||||
|
|
||||||
// Request interceptor – dodawanie tokena
|
// Request interceptor – dodawanie tokena
|
||||||
|
|||||||
Reference in New Issue
Block a user