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