Skip to content

Commit 54002fe

Browse files
committed
change for #727
1 parent a1645a0 commit 54002fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/controllers/embed.controller.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ export function serveProject(req, res) {
2424
const sketchDoc = window.document;
2525

2626
const base = sketchDoc.createElement('base');
27-
// const fullUrl = `${req.protocol}://${req.get('host')}${req.originalUrl}`;
28-
const fullUrl = `https://${req.get('host')}`;
27+
const fullUrl = `https://${req.get('host')}${req.originalUrl}`;
2928
base.href = `${fullUrl}/`;
3029
sketchDoc.head.appendChild(base);
3130

0 commit comments

Comments
 (0)