mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +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"
|
||||
SENTRY_DSN_WEBAPP=
|
||||
SENTRY_PUBLISH_RELEASE=false
|
||||
COMMIT=
|
||||
|
||||
@ -192,6 +192,7 @@ module.exports = {
|
||||
|
||||
sentry: {
|
||||
dsn: process.env.SENTRY_DSN_WEBAPP,
|
||||
publishRelease: !!process.env.COMMIT,
|
||||
config: additionalSentryConfig,
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user