Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add environment variable to front-end (bot-ui) for api (bot-api) #151

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rwilson-release
Copy link

The front-end javascript app is hardcoded to http://localhost:8504 but this does not leave room for customisation on the port number or the host (for example, at release.com we can deploy this stack on a customer's cloud for them to test). This patch should allow you to create an environment variable at static build or runtime to configure the location of the bot's api endpoint.

Any questions or concerns, let me know. I hope this conforms to submission guidelines and tests, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants