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

refactor: take API URL from env var #259

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

Conversation

ManuelBilbao
Copy link

What ❔

Take the API URL from env var when running npm run hyperchain:configure

Why ❔

Currently, if you run npm run hyperchain:configure, a hyperchain.config.json file is created with apiUrl field hardcoded to localhost:3020. This force you to change the autogenerated file by hand with your own domain or IP address

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

@ilitteri
Copy link
Contributor

ilitteri commented Jun 3, 2024

@vasyl-ivanchuk @Romsters could you please review this PR?

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.

3 participants