From c4c80d599c9f391d404a007701652cf2bcae3f3f Mon Sep 17 00:00:00 2001 From: Vasile Date: Sun, 5 May 2024 19:13:54 +0200 Subject: [PATCH] fix --- config.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config.js b/config.js index 410bef95..8b48dd3a 100755 --- a/config.js +++ b/config.js @@ -1,8 +1,7 @@ const one_day = 1440; -import { loadEnv } from 'vite'; +require('dotenv').config(); -const env = loadEnv(process.cwd()); -const api_url = env.VITE_API_URL; +const api_url = process.env.VITE_API_URL; const config = { title: "Project Mariupol",