From 71b7d0f4ebb5f49c68a4c26a577ab0183a83ceec Mon Sep 17 00:00:00 2001 From: Melisa Anabella Rossi Date: Fri, 1 Dec 2023 12:35:55 -0300 Subject: [PATCH] feat: change domain to path for static sites --- src/components/NFTCard/NFTCard.stories.tsx | 2 +- src/components/Profile/Profile.stories.tsx | 4 ++-- src/config/env/dev.json | 10 +++++----- src/config/env/prod.json | 12 ++++++------ src/config/env/stg.json | 10 +++++----- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/components/NFTCard/NFTCard.stories.tsx b/src/components/NFTCard/NFTCard.stories.tsx index db925100..9438fca1 100644 --- a/src/components/NFTCard/NFTCard.stories.tsx +++ b/src/components/NFTCard/NFTCard.stories.tsx @@ -152,7 +152,7 @@ Estate.args = { updatedAt: 1696000955000, soldAt: 0 }, - href: 'https://market.decentraland.org' + href: 'https://decentraland.org/marketplace' } export const ENS = Template.bind({}) ENS.args = { diff --git a/src/components/Profile/Profile.stories.tsx b/src/components/Profile/Profile.stories.tsx index c5111044..d8b8a0b1 100644 --- a/src/components/Profile/Profile.stories.tsx +++ b/src/components/Profile/Profile.stories.tsx @@ -146,7 +146,7 @@ storiesOf('Profile', module) avatar={avatar} inline as="a" - href="https://market.decentraland.zone/accounts/0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6" + href="https://decentraland.zone/marketplace/accounts/0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6" target="_blank" /> @@ -157,7 +157,7 @@ storiesOf('Profile', module) address="0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6" inline as={'a'} - href="https://market.decentraland.zone/accounts/0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6" + href="https://decentraland.zone/marketplace/accounts/0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6" target="_blank" /> diff --git a/src/config/env/dev.json b/src/config/env/dev.json index b78bddeb..631a8f78 100644 --- a/src/config/env/dev.json +++ b/src/config/env/dev.json @@ -1,10 +1,10 @@ { "WEARABLE_PREVIEW_URL": "https://wearable-preview.decentraland.zone", - "ACCOUNT_URL": "https://account.decentraland.zone", - "PROFILE_URL": "https://profile.decentraland.zone", - "MARKETPLACE_URL": "https://market.decentraland.zone", - "BUILDER_URL": "https://builder.decentraland.zone", - "DAO_URL": "https://dao.decentraland.zone", + "ACCOUNT_URL": "https://decentraland.zone/account", + "PROFILE_URL": "https://decentraland.zone/profile", + "MARKETPLACE_URL": "https://decentraland.zone/marketplace", + "BUILDER_URL": "https://decentraland.zone/builder", + "DAO_URL": "https://decentraland.zone/dao", "GOVERNANCE_URL": "https://governance.decentraland.zone", "EVENTS_URL": "https://events.decentraland.zone", "PLACES_URL": "https://places.decentraland.zone" diff --git a/src/config/env/prod.json b/src/config/env/prod.json index 4873d682..c7e83e9e 100644 --- a/src/config/env/prod.json +++ b/src/config/env/prod.json @@ -1,10 +1,10 @@ { - "WEARABLE_PREVIEW_URL": "https://wearable-preview.decentraland.org", - "ACCOUNT_URL": "https://account.decentraland.org", - "PROFILE_URL": "https://profile.decentraland.org", - "MARKETPLACE_URL": "https://market.decentraland.org", - "BUILDER_URL": "https://builder.decentraland.org", - "DAO_URL": "https://dao.decentraland.org", + "1": "https://wearable-preview.decentraland.org", + "ACCOUNT_URL": "https://decentraland.org/account", + "PROFILE_URL": "https://decentraland.org/profile", + "MARKETPLACE_URL": "https://decentraland.org/market", + "BUILDER_URL": "https://decentraland.org/builder", + "DAO_URL": "https://decentraland.org/dao", "GOVERNANCE_URL": "https://governance.decentraland.org", "EVENTS_URL": "https://events.decentraland.org", "PLACES_URL": "https://places.decentraland.org" diff --git a/src/config/env/stg.json b/src/config/env/stg.json index 421b4424..4e61d774 100644 --- a/src/config/env/stg.json +++ b/src/config/env/stg.json @@ -1,10 +1,10 @@ { "WEARABLE_PREVIEW_URL": "https://wearable-preview.decentraland.today", - "ACCOUNT_URL": "https://account.decentraland.today", - "PROFILE_URL": "https://profile.decentraland.today", - "MARKETPLACE_URL": "https://market.decentraland.today", - "BUILDER_URL": "https://builder.decentraland.today", - "DAO_URL": "https://dao.decentraland.today", + "ACCOUNT_URL": "https://decentraland.today/account", + "PROFILE_URL": "https://decentraland.today/profile", + "MARKETPLACE_URL": "https://decentraland.today/marketplace", + "BUILDER_URL": "https://decentraland.today/builder", + "DAO_URL": "https://decentraland.today/dao", "GOVERNANCE_URL": "https://governance.decentraland.today", "EVENTS_URL": "https://events.decentraland.today", "PLACES_URL": "https://places.decentraland.today"