Skip to content

Commit

Permalink
Fix production env
Browse files Browse the repository at this point in the history
  • Loading branch information
gmetais committed Apr 6, 2018
1 parent b3399f4 commit 7dd611b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/server/controllers/frontController.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ var FrontController = function(app) {
app.get(route, function(req, res) {
res.setHeader('Cache-Control', 'public, max-age=20');
res.render(path.join(__dirname, assetsPath, 'main.html'), {
baseUrl: app.locals.baseUrl || '/'
baseUrl: app.locals.baseUrl || '/',
sponsoring: serverSettings.sponsoring || {}
});
});
});
Expand Down

0 comments on commit 7dd611b

Please sign in to comment.