Merge pull request #5430 from overleaf/import-public-pr-947

[Imported] Update real-time app.js, (#947)

GitOrigin-RevId: 4212705fff58252d02056f7744c97aaeeac065ce
This commit is contained in:
Brian Gough 2021-10-12 14:37:55 +01:00 committed by Copybot
parent 2f835144c8
commit 96d9e6578a

View file

@ -1,6 +1,6 @@
const Metrics = require('@overleaf/metrics') const Metrics = require('@overleaf/metrics')
const Settings = require('@overleaf/settings') 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 async = require('async')
const logger = require('logger-sharelatex') const logger = require('logger-sharelatex')