Permalink
Browse files

fix: SSL embed fail static assets

  • Loading branch information...
1 parent d16e632 commit 84f603109f531586256c1b75750c49b7d3e93a8e @remy remy committed Nov 6, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/routes.js
View
@@ -775,7 +775,7 @@ module.exports = function (app) {
if (req.secure && !features('sslForEmbeds', req)) {
return res.render('ssl-embed', {
root: req.app.get('url full'),
- 'static': req.app.get('static'),
+ 'static': sandbox.helpers.urlForStatic(undefined, true),
});
}
next();

0 comments on commit 84f6031

Please sign in to comment.