We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0af6c82 + 8a17290 commit 56d3aebCopy full SHA for 56d3aeb
1 file changed
react/vite.config.mjs
@@ -4,7 +4,7 @@ import jsconfigPaths from 'vite-jsconfig-paths';
4
5
export default defineConfig(({ mode }) => {
6
const env = loadEnv(mode, process.cwd(), '');
7
- const API_URL = `/react/free`;
+ const API_URL = `${env.VITE_APP_BASE_NAME}`;
8
const PORT = 3000;
9
10
return {
0 commit comments