-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Method for switching API endpoints
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# There is already a way to update the endpoint in the system. | ||
|
||
# there is an environment file called .prod_env | ||
|
||
# there are different variable defined in that file one of them is called env -> please change it to "test"/"any text you want" but not "prod" if this it will read value from remote config | ||
|
||
# when you change this variable it will start reading value defined in the environment file | ||
|
||
# now we are concerned to change the API endpoints | ||
|
||
# its dependent on the two variables | ||
|
||
# LCD_URL | ||
# LCD_PORT | ||
|
||
# please update this with your desired values | ||
|
||
|
||
# now all request are send to your desired variable defined |