Skip to content

Commit

Permalink
fix: redirect to download page after download (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
braianj authored Feb 12, 2025
1 parent 494943f commit 3db69cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UserMenu/UserMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const UserMenu = React.memo((props: UserMenuProps) => {
)

const redirectUrl = updateUrlWithLastValue(
window.location.href,
config.get("DOWNLOAD_SUCCESS_URL"),
"os",
userAgentData.os.name
)
Expand Down
1 change: 1 addition & 0 deletions src/config/env/dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"LEARN_URL": "https://docs.decentraland.org/player/",
"CREATOR_HUB_URL": "https://decentraland.zone/download/creator-hub/",
"DOWNLOAD_URL": "https://decentraland.zone/download/",
"DOWNLOAD_SUCCESS_URL": "https://decentraland.zone/download_success/",
"CONTENTFUL_SPACE_ID": "ea2ybdmmn1kv",
"CONTENTFUL_ENV": "master",
"CONTENTFUL_NAVBAR_ACCESS_TOKEN": "9dieh3AHS6uwb_YNMjxlO6FCibAFFJVdg2YzA5t6U-Y",
Expand Down
1 change: 1 addition & 0 deletions src/config/env/prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"LEARN_URL": "https://docs.decentraland.org/player/",
"CREATOR_HUB_URL": "https://decentraland.org/download/creator-hub/",
"DOWNLOAD_URL": "https://decentraland.org/download/",
"DOWNLOAD_SUCCESS_URL": "https://decentraland.org/download_success/",
"CONTENTFUL_SPACE_ID": "ea2ybdmmn1kv",
"CONTENTFUL_ENV": "master",
"CONTENTFUL_NAVBAR_ACCESS_TOKEN": "9dieh3AHS6uwb_YNMjxlO6FCibAFFJVdg2YzA5t6U-Y",
Expand Down
1 change: 1 addition & 0 deletions src/config/env/stg.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"LEARN_URL": "https://docs.decentraland.org/player/",
"CREATOR_HUB_URL": "https://decentraland.today/download/creator-hub/",
"DOWNLOAD_URL": "https://decentraland.today/download/",
"DOWNLOAD_SUCCESS_URL": "https://decentraland.today/download_success/",
"CONTENTFUL_SPACE_ID": "ea2ybdmmn1kv",
"CONTENTFUL_ENV": "master",
"CONTENTFUL_NAVBAR_ACCESS_TOKEN": "9dieh3AHS6uwb_YNMjxlO6FCibAFFJVdg2YzA5t6U-Y",
Expand Down

0 comments on commit 3db69cf

Please sign in to comment.