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 3303283 commit f206712Copy full SHA for f206712
src/constants.js
@@ -1,3 +1 @@
1
-export const BASE_URL = process.env.NODE_ENV == "development"
2
- ? "http://localhost:5000"
3
- : "https://codeditor-back.vercel.app";
+export const BASE_URL = import.meta.env.VITE_BASE_URL;
0 commit comments