another change for #727

This commit is contained in:
Cassie Tarakajian 2018-10-16 10:58:12 -04:00
parent dcf9f270c4
commit 63380c5dd8

View file

@ -24,7 +24,8 @@ 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 = `${req.protocol}://${req.get('host')}${req.originalUrl}`;
const fullUrl = `${req.protocol}://${req.get('host')}`;
base.href = `${fullUrl}/`;
sketchDoc.head.appendChild(base);