Skip to content

Commit

Permalink
chore: fix sentry vars
Browse files Browse the repository at this point in the history
  • Loading branch information
shoom3301 committed Jan 11, 2024
1 parent e5e6541 commit 21f9dc2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/vercel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
REACT_APP_WC_PROJECT_ID=${{ secrets.REACT_APP_WC_PROJECT_ID }}
# Explorer env vars
REACT_APP_IPFS_READ_URI=${{ secrets.REACT_APP_IPFS_READ_URI }}
REACT_APP_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
REACT_APP_SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
REACT_APP_EXPLORER_SENTRY_DSN=${{ secrets.EXPLORER_SENTRY_DSN }}
REACT_APP_EXPLORER_SENTRY_AUTH_TOKEN=${{ secrets.EXPLORER_SENTRY_AUTH_TOKEN }}
REACT_APP_EXPLORER_GOOGLE_ANALYTICS_ID=${{ secrets.EXPLORER_GOOGLE_ANALYTICS_ID }}
REACT_APP_SUBGRAPH_URL_MAINNET=${{ secrets.REACT_APP_SUBGRAPH_URL_MAINNET }}
REACT_APP_SUBGRAPH_URL_GNOSIS_CHAIN=${{ secrets.REACT_APP_SUBGRAPH_URL_GNOSIS_CHAIN }}
Expand Down
5 changes: 2 additions & 3 deletions apps/explorer/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ AUTOCONNECT=true
REACT_APP_IPFS_READ_URI=https://cloudflare-ipfs.com/ipfs

# Sentry
#REACT_APP_SENTRY_DSN='https://<url>'
#REACT_APP_SENTRY_TRACES_SAMPLE_RATE="1.0"
#REACT_APP_SENTRY_AUTH_TOKEN='<sentry_auth_token>'
#REACT_APP_EXPLORER_SENTRY_DSN='https://<url>'
#REACT_APP_EXPLORER_SENTRY_AUTH_TOKEN='<sentry_auth_token>'

# Orderbook API Endpoints
#REACT_APP_ORDER_BOOK_URLS='{"1":"https://YOUR_HOST","100":"https://YOUR_HOST","5":"https://YOUR_HOST"}
2 changes: 1 addition & 1 deletion apps/explorer/src/explorer/ExplorerApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { NetworkUpdater } from '../state/network/NetworkUpdater'
import { NETWORK_OPTIONS } from '../consts/network'
import { RedirectMainnet, RedirectXdai } from '../state/network'

const SENTRY_DSN = process.env.REACT_APP_SENTRY_DSN
const SENTRY_DSN = process.env.REACT_APP_EXPLORER_SENTRY_DSN
const SENTRY_TRACES_SAMPLE_RATE = process.env.REACT_APP_SENTRY_TRACES_SAMPLE_RATE

if (SENTRY_DSN) {
Expand Down

0 comments on commit 21f9dc2

Please sign in to comment.