Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
constants need this to build sites
Browse files Browse the repository at this point in the history
  • Loading branch information
horacioh committed Mar 1, 2024
1 parent aebed81 commit a01a686
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/packages/shared/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,6 @@ export const LIGHTNING_API_URL = IS_PROD_DESKTOP
? 'https://ln.mintter.com'
: 'https://ln.testnet.mintter.com'

export const VITE_DESKTOP_SENTRY_DSN = import.meta.env.VITE_DESKTOP_SENTRY_DSN
export const VITE_DESKTOP_SENTRY_DSN =
(import.meta.env && import.meta.env.VITE_DESKTOP_SENTRY_DSN) ||
process.env.VITE_DESKTOP_SENTRY_DSN

0 comments on commit a01a686

Please sign in to comment.