Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
popovvasile committed May 5, 2024
1 parent d3d6d92 commit c4c80d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config.js
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit c4c80d5

Please sign in to comment.