Skip to content

Commit

Permalink
fix: use short commit for new relic app version
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Feb 3, 2024
1 parent c1176fd commit f9d1c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/new-relic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default defineNuxtPlugin(() => {
}

const newrelic = new BrowserAgent(options)
newrelic.setApplicationVersion(`${appConfig.buildInfo.version}-${appConfig.buildInfo.commit}`)
newrelic.setApplicationVersion(`${appConfig.buildInfo.version}-${appConfig.buildInfo.shortCommit}`)

return {
provide: {
Expand Down

0 comments on commit f9d1c53

Please # to comment.