mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Simplify webapp sentry configuration
If commit is set, use it as `release`.
This commit is contained in:
parent
fcb944b7c4
commit
07a90b8865
@ -1,4 +1,3 @@
|
|||||||
MAPBOX_TOKEN="pk.eyJ1IjoiaHVtYW4tY29ubmVjdGlvbiIsImEiOiJjajl0cnBubGoweTVlM3VwZ2lzNTNud3ZtIn0.KZ8KK9l70omjXbEkkbHGsQ"
|
MAPBOX_TOKEN="pk.eyJ1IjoiaHVtYW4tY29ubmVjdGlvbiIsImEiOiJjajl0cnBubGoweTVlM3VwZ2lzNTNud3ZtIn0.KZ8KK9l70omjXbEkkbHGsQ"
|
||||||
SENTRY_DSN_WEBAPP=
|
SENTRY_DSN_WEBAPP=
|
||||||
SENTRY_PUBLISH_RELEASE=false
|
|
||||||
COMMIT=
|
COMMIT=
|
||||||
|
|||||||
@ -192,6 +192,7 @@ module.exports = {
|
|||||||
|
|
||||||
sentry: {
|
sentry: {
|
||||||
dsn: process.env.SENTRY_DSN_WEBAPP,
|
dsn: process.env.SENTRY_DSN_WEBAPP,
|
||||||
|
publishRelease: !!process.env.COMMIT,
|
||||||
config: additionalSentryConfig,
|
config: additionalSentryConfig,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user