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

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

GitOrigin-RevId: 9aadf63459b861c4316ead76741a2a9aeea7aad3
This commit is contained in:
John Lees-Miller 2021-10-12 15:09:25 +01:00 committed by Copybot
parent da6d6abe80
commit c4f1020f2a

View file

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