Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Set the tenant key to the express app object
Browse files Browse the repository at this point in the history
  • Loading branch information
zarathustra323 committed Jan 29, 2021
1 parent c8b09e9 commit 2e58990
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/marko-web/express/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });

Expand Down

0 comments on commit 2e58990

Please sign in to comment.