Skip to content

Commit 63380c5

Browse files
committed
another change for #727
1 parent dcf9f27 commit 63380c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/controllers/embed.controller.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ 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}`;
27+
// const fullUrl = `${req.protocol}://${req.get('host')}${req.originalUrl}`;
28+
const fullUrl = `${req.protocol}://${req.get('host')}`;
2829
base.href = `${fullUrl}/`;
2930
sketchDoc.head.appendChild(base);
3031

0 commit comments

Comments
 (0)