Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

fix: remove domain overwrite on simple redirects#977

Open
crisog wants to merge 3 commits into
developfrom
fix-blockchain-subdomain
Open

fix: remove domain overwrite on simple redirects#977
crisog wants to merge 3 commits into
developfrom
fix-blockchain-subdomain

Conversation

@crisog

@crisog crisog commented Oct 18, 2022

Copy link
Copy Markdown
Contributor

This is a complementary PR for #975.

The way that simple redirects were designed does not allow for a nice way to log the redirect domain, because it gets overwritten for the specific blockchain alias. This PR removes this domain overwrite to be able to log the redirect domain correctly.

@height

height Bot commented Oct 18, 2022

Copy link
Copy Markdown

This pull request has been linked to 1 task:

💡Tip: Add "Close T-14959" to the pull request title or description, to a commit message, or in a comment to mark this task as "Done" when the pull request is merged.

@crisog crisog requested review from adshmh, blockjoe and kutoft October 18, 2022 22:23
@crisog

crisog commented Oct 18, 2022

Copy link
Copy Markdown
Contributor Author

Link T-14959

@adshmh adshmh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for the PR. A few comments to address.

Comment thread src/controllers/v1.controller.ts
Comment thread src/controllers/v1.controller.ts
Comment thread src/utils/relayer.ts
@crisog crisog changed the title fix: domain overwrite simple redirect fix: remove domain overwrite on simple redirects Oct 19, 2022
@kutoft

kutoft commented Oct 19, 2022

Copy link
Copy Markdown

Link T-15008

@crisog crisog requested a review from rem1niscence October 24, 2022 17:11

@rem1niscence rem1niscence left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@kutoft

kutoft commented Nov 1, 2022

Copy link
Copy Markdown

Link T-15008

@crisog

crisog commented Nov 14, 2022

Copy link
Copy Markdown
Contributor Author

#984 ENV can be removed when this gets merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants