Conflicts

This commit is contained in:
2026-01-08 13:16:50 -06:00
parent 64d1f525ad
commit 1501b29006
4 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL;
export const CONCENTRATORS_API_URL = `${API_BASE_URL}/api/v3/data/ppfu31vhv5gf6i0/mqqvi3woqdw5ziq/records`;
export const CONCENTRATORS_API_URL = `${API_BASE_URL}/api/v3/data/pirzzp3t8kclgo3/mheif1vdgnyt8x2/records`;
const API_TOKEN = import.meta.env.VITE_API_TOKEN;
const getAuthHeaders = () => ({

View File

@@ -1,5 +1,5 @@
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL;
export const METERS_API_URL = `${API_BASE_URL}/api/v3/data/ppfu31vhv5gf6i0/mp1izvcpok5rk6s/records`;
export const METERS_API_URL = `${API_BASE_URL}/api/v3/data/pirzzp3t8kclgo3/m4hzpnopjkppaav/records`;
const API_TOKEN = import.meta.env.VITE_API_TOKEN;
const getAuthHeaders = () => ({

View File

@@ -1,5 +1,5 @@
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL;
export const PROJECTS_API_URL = `${API_BASE_URL}/api/v3/data/ppfu31vhv5gf6i0/m05u6wpquvdbv3c/records`;
export const PROJECTS_API_URL = `${API_BASE_URL}/api/v3/data/pirzzp3t8kclgo3/m9882vn3xb31e29/records`;
const API_TOKEN = import.meta.env.VITE_API_TOKEN;
export const getAuthHeaders = () => ({
@@ -126,7 +126,6 @@ export const createProject = async (
Operator: projectData.operator,
"Installed Time": projectData.installedTime,
"Communication Time": projectData.communicationTime,
"Instruction Manual": projectData.instructionManual,
},
}),
});
@@ -185,7 +184,6 @@ export const updateProject = async (
Operator: projectData.operator,
"Installed Time": projectData.installedTime,
"Communication Time": projectData.communicationTime,
"Instruction Manual": projectData.instructionManual,
},
}),
});

View File

@@ -14,8 +14,10 @@ export default defineConfig({
host: '127.0.0.1',
port: 5173,
allowedHosts: [
'localhost',
'sistema.gestionrecursoshidricos.com',
"localhost",
"127.0.0.1",
"reyna-compressive-shaunna.ngrok-free.dev",
"https://sistema.gestionrecursoshidricos.com/"
],
// proxy:{
// '/api':{