diff --git a/src/constants/index.ts b/src/constants/index.ts index 99e3ad65b..5d0020dcc 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -1,12 +1,15 @@ -export enum URLS { - INFO = "https://tradetrust.io", - REF = "https://ref.tradetrust.io", - REF_V5TR = "https://v5-token-registry.tradetrust.io", - CREATOR = "https://creator.tradetrust.io/", - GITHUB = "https://github.com/TradeTrust/tradetrust-website", - DOCS = "https://docs.tradetrust.io/", - FAQ = "https://www.tradetrust.io/common-error-faqs/", -} +export const URLS = { + INFO: "https://tradetrust.io", + REF: "https://ref.tradetrust.io", + REF_V5TR: + process?.env?.NODE_ENV === "development" + ? "https://v5-token-registry.dev.tradetrust.io" + : "https://v5-token-registry.tradetrust.io", + CREATOR: "https://creator.tradetrust.io/", + GITHUB: "https://github.com/TradeTrust/tradetrust-website", + DOCS: "https://docs.tradetrust.io/", + FAQ: "https://www.tradetrust.io/common-error-faqs/", +}; export enum FaqType { GENERAL = "General",