Skip to content

feat(relay): lock landing env toggle to NETWORK_ENV#7

Merged
breim merged 1 commit into
mainfrom
feat/lock-landing-env-toggle
Apr 19, 2026
Merged

feat(relay): lock landing env toggle to NETWORK_ENV#7
breim merged 1 commit into
mainfrom
feat/lock-landing-env-toggle

Conversation

@breim

@breim breim commented Apr 19, 2026

Copy link
Copy Markdown
Member

The landing page's Mainnet/Testnet toggle was always click-able, so a user on a testnet-only relay could select Mainnet and register against addresses the relay doesn't have. Preprocess the landing HTML at render time to disable the opposite radio and pre-check the active one.

The landing page's Mainnet/Testnet toggle was always click-able, so a
user on a testnet-only relay could select Mainnet and register against
addresses the relay doesn't have. Preprocess the landing HTML at render
time to disable the opposite radio and pre-check the active one.
@breim breim merged commit 736f288 into main Apr 19, 2026
1 check passed
@breim breim deleted the feat/lock-landing-env-toggle branch April 19, 2026 00:18
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.

1 participant