We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d46126 commit c4300a6Copy full SHA for c4300a6
frontend/src/constants/constants.ts
@@ -12,7 +12,7 @@ export const initialItems = [
12
];
13
14
export const BACKEND_URL = import.meta.env.VITE_BACKEND_URL || (
15
- import.meta.env.MODE === 'production' ? '' : 'http://localhost:5000'
+ import.meta.env.PROD ? '' : 'http://localhost:5000'
16
);
17
18
export const FIFTEEN_MIN_IN_MS = 900000;
0 commit comments