mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
docs(frontend): add environment variables in .env.sample and README (#7401)
This commit is contained in:
@@ -1,2 +1,8 @@
|
||||
VITE_BACKEND_BASE_URL="localhost:3000" # Backend URL without protocol (e.g. localhost:3000)
|
||||
VITE_MOCK_API="false" # true or false
|
||||
VITE_BACKEND_HOST="127.0.0.1:3000" # Backend host with port for API connections
|
||||
VITE_MOCK_API="false" # Enable/disable API mocking with MSW (true or false)
|
||||
VITE_MOCK_SAAS="false" # Simulate SaaS mode in development (true or false)
|
||||
VITE_USE_TLS="false" # Use HTTPS/WSS for backend connections (true or false)
|
||||
VITE_FRONTEND_PORT="3001" # Port to run the frontend application
|
||||
VITE_INSECURE_SKIP_VERIFY="false" # Skip TLS certificate verification (true or false)
|
||||
# VITE_GITHUB_TOKEN="" # GitHub token for repository access (used in some tests)
|
||||
|
||||
Reference in New Issue
Block a user