Skip to content

Commit 56d3aeb

Browse files
authored
Merge pull request #57 from phoenixcoded/fix_path_issue
update path
2 parents 0af6c82 + 8a17290 commit 56d3aeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

react/vite.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import jsconfigPaths from 'vite-jsconfig-paths';
44

55
export default defineConfig(({ mode }) => {
66
const env = loadEnv(mode, process.cwd(), '');
7-
const API_URL = `/react/free`;
7+
const API_URL = `${env.VITE_APP_BASE_NAME}`;
88
const PORT = 3000;
99

1010
return {

0 commit comments

Comments
 (0)