-
Notifications
You must be signed in to change notification settings - Fork 125
Use Alternative Backend for Frontend Development
Wenxuan edited this page Jun 18, 2020
·
1 revision
By default, the base URL of TiDB Dashboard backend API is http://127.0.0.1:12333
if using yarn start
to set up the dashboard for development.
You can specify an alternative backend API URL by using environment variables:
REACT_APP_DASHBOARD_API_URL=your_new_endpoint yarn start
You can also specify the environment variable by using .env
file (create one under ui/
directory if you don't have one already):
REACT_APP_DASHBOARD_API_URL=your_new_endpoint