From ed78dc12ef05d7e3eee90d706cd8bc850674fcbf Mon Sep 17 00:00:00 2001 From: "C. Fuhrman" Date: Wed, 30 Oct 2024 23:42:21 -0400 Subject: [PATCH] be sure to get the right variable --- client/src/constants.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/constants.tsx b/client/src/constants.tsx index 15f9199..032e68e 100644 --- a/client/src/constants.tsx +++ b/client/src/constants.tsx @@ -1,7 +1,9 @@ // constants.tsx const ENV_VARIABLES = { MODE: 'production', - VITE_BACKEND_URL: process.env.VITE_BACKEND_URL || "" + VITE_BACKEND_URL: import.meta.env.VITE_BACKEND_URL || "" }; +console.log(`ENV_VARIABLES.VITE_BACKEND_URL=${ENV_VARIABLES.VITE_BACKEND_URL}`); + export { ENV_VARIABLES };