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