Skip to content

Commit

Permalink
fix :: vite env 적용 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed Aug 5, 2024
1 parent b82d2ce commit 4d3311b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/constant/env.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import process from 'process';

export const COOKIE_DOMAIN = process.env.NODE_ENV === 'development' ? 'localhost' : 'entrydsm.hs.kr';
export const COOKIE_DOMAIN = import.meta.env.NODE_ENV === 'development' ? 'localhost' : 'entrydsm.hs.kr';

export const MAIN_URL = process.env.VITE_MAIN_URL;
export const MAIN_URL = import.meta.env.VITE_MAIN_URL;

export const AUTH_URL = process.env.VITE_AUTH_URL;
export const AUTH_URL = import.meta.env.VITE_AUTH_URL;

export const APPLY_URL = process.env.VITE_APPLY_URL;
export const APPLY_URL = import.meta.env.VITE_APPLY_URL;

export const ADMIN_URL = process.env.VITE_ADMIN_URL;
export const ADMIN_URL = import.meta.env.VITE_ADMIN_URL;

0 comments on commit 4d3311b

Please sign in to comment.