From ff0af449f6b8e5bdcd0107ead0a2934dc279e856 Mon Sep 17 00:00:00 2001 From: Jesus Fajardo Date: Thu, 27 Jun 2024 18:55:52 +0200 Subject: [PATCH] Testing environment variables for frontend --- frontend/vite.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/vite.config.js b/frontend/vite.config.js index b49323f..555847d 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -11,6 +11,8 @@ export default defineConfig({ }, }, define: { - 'process.env': process.env + 'process.env': { + VITE_API_URL: process.env.VITE_API_URL, + } } })