Skip to content

Commit

Permalink
ruta de productos
Browse files Browse the repository at this point in the history
  • Loading branch information
jul1oCesar0 committed Oct 30, 2024
1 parent 69f4b08 commit 8163f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Lente/Api.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export async function obtenerProductos() {
try {
const response = await fetch("http://localhost:3000/productos/Productos");
const response = await fetch("https://backopt-production.up.railway.app/productos/Productos");
if (!response.ok) {
throw new Error("Error al obtener los productos");
}
Expand Down

0 comments on commit 8163f01

Please sign in to comment.