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

Fix empty dappnode domain #78

Merged
merged 3 commits into from
Jun 30, 2023
Merged

Fix empty dappnode domain #78

merged 3 commits into from
Jun 30, 2023

Conversation

dsimog01
Copy link
Contributor

It looks like sometimes dappmanager is not able to inject the env _DAPPNODE_GLOBAL_DOMAIN into the HTTPS package, probably because the dappmanager is not properly running at the time HTTPS is started. In order to avoid this, if the env is empty, the package will try to retrieve this from the dappmanager API.

@dsimog01 dsimog01 requested a review from a team as a code owner June 30, 2023 09:25
src/api/app.ts Outdated Show resolved Hide resolved
src/index.ts Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Jun 30, 2023

DAppNode bot has built and pinned the release to an IPFS node, for commit: 6f5f7fd

This is a development version and should only be installed for testing purposes, install link

/ipfs/QmWs75REoQQ5qe54GedPvsFZfzyFJsZZmcpgMvh5zcSz5M

(by dappnodebot/build-action)

Copy link
Member

@3alpha 3alpha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dsimog01 dsimog01 merged commit 114eb69 into master Jun 30, 2023
@dsimog01 dsimog01 deleted the diego/fix-empty-domain branch June 30, 2023 10:56
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