We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 913de33 commit 1337767Copy full SHA for 1337767
server/controllers/embed.controller.js
@@ -26,7 +26,7 @@ export function serveProject(req, res) {
26
const sketchDoc = window.document;
27
28
const base = sketchDoc.createElement('base');
29
- const fullUrl = `${req.protocol}://${req.get('host')}${req.originalUrl}`;
+ const fullUrl = `//${req.get('host')}${req.originalUrl}`;
30
base.href = `${fullUrl}/`;
31
sketchDoc.head.appendChild(base);
32
0 commit comments