21 lines
608 B
Plaintext
21 lines
608 B
Plaintext
|
|
# Frontend Environment Configuration for Ubuntu
|
||
|
|
# Copy this to .env.production before building
|
||
|
|
|
||
|
|
# API URL - Update with your server domain or IP
|
||
|
|
REACT_APP_API_URL=http://your-domain.com/api
|
||
|
|
|
||
|
|
# For HTTPS (recommended):
|
||
|
|
# REACT_APP_API_URL=https://your-domain.com/api
|
||
|
|
|
||
|
|
# For IP-based access:
|
||
|
|
# REACT_APP_API_URL=http://your-server-ip/api
|
||
|
|
|
||
|
|
# Build configuration
|
||
|
|
GENERATE_SOURCEMAP=false
|
||
|
|
|
||
|
|
# WebSocket configuration for HTTPS (only needed for development server)
|
||
|
|
# In production builds, these are not included
|
||
|
|
# WDS_SOCKET_PROTOCOL=wss
|
||
|
|
# WDS_SOCKET_HOST=your-domain.com
|
||
|
|
# WDS_SOCKET_PORT=5100
|