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 env-keys for endpoints #273

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

k9ert
Copy link

@k9ert k9ert commented Mar 30, 2024

If you want to run this library behind a reverse-proxy, one need to specify the endpoints manually.
This PR would do that.

This is missing documentation. Let me know if this concept is ok and potentially ready to merge and i'll add documentation.

@amz-tools
Copy link
Owner

@k9ert Its quite a special case here so we would prefer to have it not as an env var but rather as a simple config option that can be passed to the constructor options and are then used inside Request.js as i.e. this._options.proxy_client_endpoint or something similar.

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