Update app.js

change metrics app name
This commit is contained in:
Allemand 2021-08-19 15:02:15 +02:00 committed by GitHub
parent 75a602ec29
commit 052d4aa0a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
const Metrics = require('@overleaf/metrics')
const Settings = require('@overleaf/settings')
Metrics.initialize(Settings.appName || 'real-time')
Metrics.initialize(process.env.METRICS_APP_NAME || 'real-time')
const async = require('async')
const logger = require('logger-sharelatex')