From 03c608ced701c3a103f9e68f8ad49213fa14aef1 Mon Sep 17 00:00:00 2001 From: Vasile Date: Sun, 5 May 2024 19:35:43 +0200 Subject: [PATCH] fix --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 4757deb7..47bf6810 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,7 +3,7 @@ import react from '@vitejs/plugin-react'; import compressionPlugin from 'vite-plugin-compression'; export default defineConfig(({ mode }) => { - const env = loadEnv(mode, process.cwd()); + const env = loadEnv(mode, './'); const api_url = env.VITE_API_URL; return {