From 8b8b15bffbcb7e6eac16b0b97415ddda1e2d688e Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Thu, 7 Apr 2022 16:11:37 +0100 Subject: [PATCH] Merge pull request #7455 from overleaf/jpa-dropbox-app-name [web] use an environment specific app name for dropbox GitOrigin-RevId: 22f8fb911e04f8dd24dc01be9dd3bea9e05fd150 --- services/web/app/src/infrastructure/ExpressLocals.js | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/app/src/infrastructure/ExpressLocals.js b/services/web/app/src/infrastructure/ExpressLocals.js index 5791bc2bc8..261f608363 100644 --- a/services/web/app/src/infrastructure/ExpressLocals.js +++ b/services/web/app/src/infrastructure/ExpressLocals.js @@ -362,6 +362,7 @@ module.exports = function (webRouter, privateApiRouter, publicApiRouter) { res.locals.ExposedSettings = { isOverleaf: Settings.overleaf != null, appName: Settings.appName, + dropboxAppName: Settings.apis.thirdPartyDataStore?.dropboxAppName || '', hasSamlBeta: req.session.samlBeta, hasSamlFeature: Features.hasFeature('saml'), samlInitPath: _.get(Settings, ['saml', 'ukamf', 'initPath']),