Configuration
We keep the main configuration in .env
file for local/development and .env.production
for production build. However all the configurations are managed in path-to-project/ts-ui/src/config/*
.
Environment Variables
REACT_APP_GATEWAY
- Gateway URL to access API (e.g. https://social.faas.telar.dev)REACT_APP_AUTH_WEB_URI
- URI to access authentication pages (e.g. https://auth.telar.dev)REACT_APP_BASE_ROUTE_API
- Base route for API URL (e.g. /social for URL https://social.faas.telar.dev/social)REACT_APP_NAME
- Your app name (e.g. Telar Social Engine)REACT_APP_COMPANY_NAME
- Your company name (e.g. Telar)REACT_APP_EMAIL_SUPPORT
- Your email support (e.g. support@telar.dev)REACT_APP_WEBSOCKET_URL
- Your WebSocket server (e.g. https://ws.telar.dev)
note
REACT_APP_BASE_ROUTE_API
is different with base href for frontend server root.
⭐️ This page needs help. Please help with your contribution. To start click on edit button.