another change for #727
This commit is contained in:
parent
dcf9f270c4
commit
63380c5dd8
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ export function serveProject(req, res) {
|
||||||
const sketchDoc = window.document;
|
const sketchDoc = window.document;
|
||||||
|
|
||||||
const base = sketchDoc.createElement('base');
|
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}/`;
|
base.href = `${fullUrl}/`;
|
||||||
sketchDoc.head.appendChild(base);
|
sketchDoc.head.appendChild(base);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue