File tree Expand file tree Collapse file tree 5 files changed +7
-5
lines changed
Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1+ VITE_API_BASE_URL = http://localhost:5002
Original file line number Diff line number Diff line change 1+ VITE_API_BASE_URL =
Original file line number Diff line number Diff line change 33 "version" : " 1.0.0-beta.4" ,
44 "scripts" : {
55 "dev" : " vite" ,
6- "build" : " vite build" ,
6+ "build" : " vite build --mode production " ,
77 "start" : " vite preview --port 5173 --host 0.0.0.0" ,
88 "test" : " vitest" ,
99 "clean" : " prettier --write src" ,
100100 " last 1 safari version"
101101 ]
102102 }
103- }
103+ }
Original file line number Diff line number Diff line change 11// Backend API configuration
2- export const API_BASE_URL = '' ;
2+ export const API_BASE_URL = import . meta. env . VITE_API_BASE_URL ;
3+
34
45// API endpoints
56export const API_ENDPOINTS = {
Original file line number Diff line number Diff line change 4242# Start the frontend development server
4343echo " Starting frontend server..."
4444cd ../..
45- npm run build
46- npm start
45+ npm run dev
You can’t perform that action at this time.
0 commit comments