Implement environment variable setup for frontend; create .env.production and .env.development files if they don't exist, and update API URLs in frontend components to use dynamic API_BASE_URL for improved configuration management.
This commit is contained in:
2
frontend/.env.development
Normal file
2
frontend/.env.development
Normal file
@@ -0,0 +1,2 @@
|
||||
# TimeClock v3 - Frontend Development Environment
|
||||
VITE_API_URL=http://localhost:3010/api
|
||||
Reference in New Issue
Block a user