From 9bfc0dd006db1118883b166d6cf41c592beeaf3f Mon Sep 17 00:00:00 2001 From: Rafael Cenzano <32753063+RafaelCenzano@users.noreply.github.com> Date: Fri, 17 Oct 2025 20:21:23 -0400 Subject: [PATCH] fix env vars --- src/individuals/pages/Saved.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/individuals/pages/Saved.tsx b/src/individuals/pages/Saved.tsx index 5aba6c26..4a5ecb69 100644 --- a/src/individuals/pages/Saved.tsx +++ b/src/individuals/pages/Saved.tsx @@ -18,7 +18,7 @@ export default function SavedPage() { const fetchSaved = async () => { try { const response = await fetch( - `${process.env.REACT_APP_BACKEND_SERVER}/savedOpportunities`, { + `${import.meta.env.VITE_BACKEND_SERVER}/savedOpportunities`, { credentials: "include", } ); @@ -98,7 +98,7 @@ export default function SavedPage() { } const response = await fetch( - `${process.env.REACT_APP_BACKEND_SERVER}/unsaveOpportunity/${opportunity.id}`, { + `${import.meta.env.VITE_BACKEND_SERVER}/unsaveOpportunity/${opportunity.id}`, { method: "DELETE", credentials: "include", headers,