decentraland / decentraland/linker-dapp
Linker page world links hardcode .zone URL and NETWORK=sepolia
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
## Description
After publishing a scene to a World on production (`.org`), the linker page generates links pointing to `decentraland.zone` with `NETWORK=sepolia` hardcoded in the URL. This means clicking the link takes the user to the testnet explorer where their production World doesn't exist.
**Example of incorrect URL generated:**
`https://decentraland.zone/jump?position=0%2C0&NETWORK=sepolia&realm=nicoe.dcl.eth`
**Expected URL for production deployment:**
`https://decentraland.org/jump?position=0,0&realm=nicoe.dcl.eth`
## Steps to Reproduce
1. Deploy a scene to a World on production (using `.org` content server)
2. After successful deployment, look at the linker page
3. Click the link to visit the World
## Expected Behavior
- When deploying to production (`.org`), the link should point to `decentraland.org` without `NETWORK=sepolia`
- When deploying to testnet (`.zone`), the link should point to `decentraland.zone` with `NETWORK=sepolia`
- The URL should be environment-aware, not hardcoded
## Context
The `NETWORK=sepolia` parameter and `.zone` domain appear to be hardcoded rather than derived from the current deployment environment. The linker dApp should use the environment configuration (`VITE_REACT_APP_DCL_DEFAULT_ENV` or equivalent) to determine the correct domain and network parameters.
---
Reported by Nico Earnshaw
Requested by Rocío Corral Mena via Slack
Contributor guide
Assessment
This issue has not been assessed yet.