From 2e589909ff3d39d89bd071597d676686310d3a65 Mon Sep 17 00:00:00 2001 From: Jacob Bare Date: Thu, 28 Jan 2021 21:35:07 -0600 Subject: [PATCH] Set the tenant key to the express app object --- packages/marko-web/express/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/marko-web/express/index.js b/packages/marko-web/express/index.js index 13422149a..1f09c19bb 100644 --- a/packages/marko-web/express/index.js +++ b/packages/marko-web/express/index.js @@ -50,6 +50,9 @@ module.exports = (config = {}) => { })); } + // Set the tenant key to the app. + app.locals.tenantKey = tenantKey; + // Set the core config. app.locals.config = new CoreConfig({ ...config.coreConfig, distDir });