mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-01 14:38:47 +00:00
tweak(phone): tweaked env handling to expose package.json version for sentry
This commit is contained in:
1 parent
dce079222a
commit
8461c1acd2
3 files changed
+2
-3
No files matched your search
@@ -6,7 +6,6 @@ npwd_temp
|
||||
resources/html
|
||||
|
||||
phone/.eslintcache
|
||||
phone/.env
|
||||
|
||||
# Node Modules and Built Folders
|
||||
node_modules
|
||||
@@ -26,4 +25,3 @@ sv_npwd.log
|
||||
|
||||
# FXServer Yarn
|
||||
.yarn.installed
|
||||
phone/.env
|
||||
@@ -0,0 +1 @@
|
||||
REACT_APP_VERSION=$npm_package_version
|
||||
+1
-1
@@ -20,7 +20,7 @@ if (PhoneConfig.SentryErrorMetrics && process.env.NODE_ENV !== 'development') {
|
||||
Sentry.init({
|
||||
dsn: 'https://[email protected]/2',
|
||||
autoSessionTracking: true,
|
||||
release: process.env.REACT_APP_SENTRY_RELEASE || '0.0.0',
|
||||
release: process.env.REACT_APP_VERSION,
|
||||
integrations: [new Integrations.BrowserTracing()],
|
||||
// We recommend adjusting this value in production, or using tracesSampler
|
||||
// for finer control
|
||||
|
||||
Reference in new issue
Block a user