Skip to content

Commit c4300a6

Browse files
committed
fix prod backend url
1 parent 4d46126 commit c4300a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/constants/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const initialItems = [
1212
];
1313

1414
export const BACKEND_URL = import.meta.env.VITE_BACKEND_URL || (
15-
import.meta.env.MODE === 'production' ? '' : 'http://localhost:5000'
15+
import.meta.env.PROD ? '' : 'http://localhost:5000'
1616
);
1717

1818
export const FIFTEEN_MIN_IN_MS = 900000;

0 commit comments

Comments
 (0)