diff --git a/server/controllers/embed.controller.js b/server/controllers/embed.controller.js index 020c492d..08466d93 100644 --- a/server/controllers/embed.controller.js +++ b/server/controllers/embed.controller.js @@ -25,7 +25,7 @@ export function serveProject(req, res) { const base = sketchDoc.createElement('base'); // const fullUrl = `${req.protocol}://${req.get('host')}${req.originalUrl}`; - const fullUrl = `${req.protocol}://${req.get('host')}`; + const fullUrl = `https://${req.get('host')}`; base.href = `${fullUrl}/`; sketchDoc.head.appendChild(base);