change for #727
This commit is contained in:
parent
a1645a04b4
commit
54002feb1d
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue