diff --git a/.changelog/1079.internal.md b/.changelog/1079.internal.md new file mode 100644 index 000000000..3fef7f39c --- /dev/null +++ b/.changelog/1079.internal.md @@ -0,0 +1 @@ +Don't directly include internal enum values in URLs diff --git a/src/app/utils/externalLinks.ts b/src/app/utils/externalLinks.ts index 664157740..b9f708db7 100644 --- a/src/app/utils/externalLinks.ts +++ b/src/app/utils/externalLinks.ts @@ -40,9 +40,9 @@ const faucetUrl = 'https://faucet.testnet.oasis.dev/' const faucetParaTimeBaseUrl = `${faucetUrl}?paratime=` export const faucet = { [Layer.consensus]: faucetUrl, - [Layer.emerald]: `${faucetParaTimeBaseUrl}${Layer.emerald}`, - [Layer.sapphire]: `${faucetParaTimeBaseUrl}${Layer.sapphire}`, - [Layer.cipher]: `${faucetParaTimeBaseUrl}${Layer.cipher}`, + [Layer.emerald]: `${faucetParaTimeBaseUrl}emerald`, + [Layer.sapphire]: `${faucetParaTimeBaseUrl}sapphire`, + [Layer.cipher]: `${faucetParaTimeBaseUrl}cipher`, } export const api = {