Skip to content

Commit f206712

Browse files
committed
Update BASE_URL in constants.js to use VITE_BASE_URL for environment configuration
1 parent 3303283 commit f206712

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/constants.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
export const BASE_URL = process.env.NODE_ENV == "development"
2-
? "http://localhost:5000"
3-
: "https://codeditor-back.vercel.app";
1+
export const BASE_URL = import.meta.env.VITE_BASE_URL;

0 commit comments

Comments
 (0)