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:
3
frontend/.env.production
Normal file
3
frontend/.env.production
Normal file
@@ -0,0 +1,3 @@
|
||||
# TimeClock v3 - Frontend Production Environment
|
||||
# API Base URL (relativ, da Apache als Proxy dient)
|
||||
VITE_API_URL=/api
|
||||
Reference in New Issue
Block a user