File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1- VITE_API_URL = http://localhost:5000
1+ VITE_API_URL = http://localhost:5000
2+ VITE_AI_URL = http://localhost:8000
Original file line number Diff line number Diff line change 1- VITE_API_URL = http://13.250.231.18:5000
1+ VITE_API_URL = http://13.250.231.18:5000
2+ VITE_AI_URL = http://13.250.231.18:8000
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export default function AddEmployee() {
112112 setLoadingState ( true ) ;
113113 setLoadingText ( "Extract CV" ) ;
114114 const { data } = await axios . post (
115- "http://localhost:8000/cv/extract-data" , // 🔥 change to your backend URL
115+ ` ${ import . meta . env . VITE_AI_URL || "http://localhost:8000" } /cv/extract-data` ,
116116 formData ,
117117 {
118118 headers : { "Content-Type" : "multipart/form-data" } ,
You can’t perform that action at this time.
0 commit comments