Skip to content

Commit

Permalink
construct complete url for new URL (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperp authored Dec 29, 2021
1 parent 95fd2a0 commit 3e1413f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starters/servers/express/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function startServer() {
async function handleQwik(req, res) {
const result = await renderApp({
symbols,
url: new URL(req.url),
url: new URL(`${req.protocol}://${req.hostname}${req.url}`),
debug: true,
});
res.send(result.html);
Expand Down

0 comments on commit 3e1413f

Please sign in to comment.