SE MODIFICO EL API_URL
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import { fetchWithAuth } from '../fetchWithAuth';
|
||||
|
||||
const API_BASE_URL = process.env.NODE_ENV === 'production'
|
||||
? 'https://your-production-api.com/api/v1'
|
||||
: 'http://192.168.1.79:8000/api/v1';
|
||||
const API_BASE_URL = import.meta.env.VITE_EFC_API_URL;
|
||||
|
||||
export const fetchPedimentoCoves = async (pedimentoId, page = 1, pageSize = 10, filters = {}) => {
|
||||
try {
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import { fetchWithAuth } from '../fetchWithAuth';
|
||||
|
||||
const API_BASE_URL = process.env.NODE_ENV === 'production'
|
||||
? 'https://your-production-api.com/api/v1'
|
||||
: 'http://192.168.1.79:8000/api/v1';
|
||||
const API_BASE_URL = import.meta.env.VITE_EFC_API_URL;
|
||||
|
||||
export const fetchPedimentoEdocuments = async (pedimentoId, page = 1, pageSize = 10, filters = {}) => {
|
||||
try {
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import { fetchWithAuth } from '../fetchWithAuth';
|
||||
|
||||
const API_BASE_URL = process.env.NODE_ENV === 'production'
|
||||
? 'https://your-production-api.com/api/v1'
|
||||
: 'http://192.168.1.79:8000/api/v1';
|
||||
const API_BASE_URL = import.meta.env.VITE_EFC_API_URL;
|
||||
|
||||
export const fetchPedimentoProcesos = async (pedimentoId, page = 1, pageSize = 10, filters = {}) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user