Skip to content

Commit

Permalink
fix: world urls (#3082)
Browse files Browse the repository at this point in the history
  • Loading branch information
cazala committed Apr 16, 2024
1 parent 4287a32 commit 35304d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default function DeployToWorld({
if (isDevelopment) {
return `${EXPLORER_URL}/?realm=${WORLDS_CONTENT_SERVER_URL}/world/${world}&NETWORK=sepolia`
}
return `${EXPLORER_URL}/world/${world}`
return `${EXPLORER_URL}?realm=${world}`
}, [world])

const nameTypeOptions = useMemo(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default class DeploymentDetail extends React.PureComponent<Props> {
if (isDevelopment) {
return `${EXPLORER_URL}/?realm=${WORLDS_CONTENT_SERVER_URL}/world/${world}&NETWORK=sepolia`
}
return `${EXPLORER_URL}/world/${world}`
return `${EXPLORER_URL}?realm=${world}`
}

render() {
Expand Down
2 changes: 1 addition & 1 deletion src/components/WorldListPage/WorldListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const WorldListPage: React.FC<Props> = props => {
if (isDevelopment) {
return `${EXPLORER_URL}/?realm=${WORLDS_CONTENT_SERVER_URL}/world/${world}&NETWORK=sepolia`
}
return `${EXPLORER_URL}/world/${world}`
return `${EXPLORER_URL}?realm=${world}`
},
[isDevelopment]
)
Expand Down

0 comments on commit 35304d6

Please sign in to comment.