mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
be sure to get the right variable
This commit is contained in:
parent
d75850dac4
commit
ed78dc12ef
1 changed files with 3 additions and 1 deletions
|
|
@ -1,7 +1,9 @@
|
||||||
// constants.tsx
|
// constants.tsx
|
||||||
const ENV_VARIABLES = {
|
const ENV_VARIABLES = {
|
||||||
MODE: 'production',
|
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 };
|
export { ENV_VARIABLES };
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue