From 088efaad0cd5c8a998f280cea1b0a6655f3df2fc Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Tue, 16 Oct 2018 11:13:01 -0400 Subject: [PATCH] another change for #727, getting warmer --- server/controllers/embed.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);