Feat: Cambios Varios 2
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import axios from 'axios';
|
||||
|
||||
const api = axios.create({
|
||||
// Asegúrate de usar la variable de entorno o la URL correcta
|
||||
baseURL: import.meta.env.VITE_API_URL || 'http://localhost:5176/api',
|
||||
baseURL: import.meta.env.VITE_API_URL,
|
||||
});
|
||||
|
||||
// 1. Interceptor de REQUEST: Pega el token
|
||||
|
||||
Reference in New Issue
Block a user