From 66a8c659b43b63f4817c87df5d736f05c7ce343d Mon Sep 17 00:00:00 2001 From: Dexter Edwards Date: Wed, 4 Jan 2023 09:16:37 +0000 Subject: [PATCH] chore: sentry dsn (#2499) * chore: update readme to be correct * chore: add sentry DSN to env files * chore: use correct dsn --- apps/token/.env.mainnet | 1 + apps/token/.env.stagnet3 | 1 + apps/token/.env.testnet | 1 + apps/token/README.md | 12 ++++++------ 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/apps/token/.env.mainnet b/apps/token/.env.mainnet index dd7c1f50d..34b09ff0a 100644 --- a/apps/token/.env.mainnet +++ b/apps/token/.env.mainnet @@ -8,3 +8,4 @@ NX_ETHERSCAN_URL=https://etherscan.io NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions NX_VEGA_EXPLORER_URL=https://explorer.vega.xyz NX_VEGA_DOCS_URL=https://docs.vega.xyz/mainnet +NX_SENTRY_DSN=https://4b8c8a8ba07742648aa4dfe1b8d17e40:87edc2605e544f888305d7fc4a9141bd@o286262.ingest.sentry.io/5882996 \ No newline at end of file diff --git a/apps/token/.env.stagnet3 b/apps/token/.env.stagnet3 index 88e8f7d1d..746d085b2 100644 --- a/apps/token/.env.stagnet3 +++ b/apps/token/.env.stagnet3 @@ -6,3 +6,4 @@ NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/stagnet3-network.json NX_VEGA_EXPLORER_URL=https://stagnet3.explorer.vega.xyz NX_VEGA_DOCS_URL=https://docs.vega.xyz/testnet NX_HOSTED_WALLET_URL=https://wallet.testnet.vega.xyz +NX_SENTRY_DSN=https://4b8c8a8ba07742648aa4dfe1b8d17e40:87edc2605e544f888305d7fc4a9141bd@o286262.ingest.sentry.io/5882996 diff --git a/apps/token/.env.testnet b/apps/token/.env.testnet index debcb38ff..29309011b 100644 --- a/apps/token/.env.testnet +++ b/apps/token/.env.testnet @@ -9,3 +9,4 @@ NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions NX_VEGA_EXPLORER_URL=https://explorer.fairground.wtf NX_VEGA_DOCS_URL=https://docs.vega.xyz/testnet NX_HOSTED_WALLET_URL=https://wallet.testnet.vega.xyz +NX_SENTRY_DSN=https://4b8c8a8ba07742648aa4dfe1b8d17e40:87edc2605e544f888305d7fc4a9141bd@o286262.ingest.sentry.io/5882996 diff --git a/apps/token/README.md b/apps/token/README.md index 6f0da8d72..04f524243 100644 --- a/apps/token/README.md +++ b/apps/token/README.md @@ -39,12 +39,12 @@ There are a few different configuration options offered for this app: | **Flag** | **Purpose** | | ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `NX_APP_SENTRY_DSN` | The sentry endpoint to report to. Should be off in dev but set in live. | -| `NX_APP_VEGA_URL` | The GraphQL query endpoint of a [Vega data node](https://github.com/vegaprotocol/networks#data-node) | -| `NX_APP_DEX_STAKING_DISABLED` | Disable the dex liquidity page an show a coming soon message | -| `NX_APP_FAIRGROUND` | Change styling to be themed as the fairground version of the website | -| `NX_APP_INFURA_ID` | Infura fallback for if the user does not have a web3 compatible browser | -| `NX_APP_ENV` | Change network to connect to. When set to CUSTOM use CUSTOM\_\* vars for network parameters | +| `NX_SENTRY_DSN` | The sentry endpoint to report to. Should be off in dev but set in live. | +| `NX_VEGA_URL` | The GraphQL query endpoint of a [Vega data node](https://github.com/vegaprotocol/networks#data-node) | +| `NX_DEX_STAKING_DISABLED` | Disable the dex liquidity page an show a coming soon message | +| `NX_FAIRGROUND` | Change styling to be themed as the fairground version of the website | +| `NX_INFURA_ID` | Infura fallback for if the user does not have a web3 compatible browser | +| `NX_ENV` | Change network to connect to. | | `NX_ETH_URL_CONNECT` (optional) | If set to true the below two must also be set. This allows siging transactions in brower to allow to connect to a local ganache node through cypress | | `NX_ETH_WALLET_MNEMONIC` (optional) | The mnemonic to be used to sign transactions with in browser | | `NX_LOCAL_PROVIDER_URL` (optional) | The local node to use to send transaction to when signing in browser |